Program n1;
Uses Crt;
Var
c: array[1..1000] of integer;
n, i, b, x, z:integer;
Begin
writeln('Razmer massiva = '); Readln(n);
for i:=1 to n do begin
c[i]:=random(40) - 20;
write(c[i]:4);
end;
writeln();
x:=0; z:=0; b:=0;
for i:=1 to n do begin
if (c[i]<0) then x:=x+1;<br> if (c[i]>0) then z:=z+1;
if (c[i]=0) then b:=b+1;
end;
writeln('Kol-vo chisel < 0: ', x);
writeln('Kol-vo chisel > 0: ', z);
writeln('Kol-vo chisel = 0: ', b);
End.