Var
a:array[1..3, 1..4] of integer;
n, i, j:integer;
begin
n:=0;
for i:=1 to 3 do
for j:=1 to 4 do
read(a[i, j]);
for i:=1 to 3 do
for j:=1 to 4 do
if a[i, j]<0 then n:=n+1; <br> writeln('Количество', n);
for i:=1 to 3 do
begin
for j:=1 to 4 do
write(a[i, j]:4);
writeln;
end;
end.