Program P13;
Var
A:array[1..10000,1..10000] of integer;
i,j,N,M:integer;
S,K:longint;
Begin
S:=0;
K:=0;
Write('N = ');Read(N);
Write('M = ');Read(M);
For i:= 1 to N do
Begin
For j:= 1 to M do
Begin
A[i,j]:=random(21)-10;
Write(A[i,j]:3,' ');
if A[i,j]<0 then<br> Begin
K:=K+1;
S:=S+A[i,j];
End;
End;
WriteLn;
End;
WriteLn('Kol-Bo Otric = ',K);
Write('Summa Otric = ',S);
End.