varn,i,k, sum: integer;a: array [1..10] of integer;sr: real;
beginsum:=0;for i:=1 to 10 dobeginread (a[i]); if a[i]>0 then n:=n+1;
if a[i]<0 thenbegin sum:=sum+a[i]; k:=k+1;end;end; sr:=sum/k;writeln ('srednee=',sr); writeln ('poloshitel=',n);end.
var
n,i,k, sum: integer;
a: array [1..10] of integer;
sr: real;
begin
sum:=0;
for i:=1 to 10 do
begin
read (a[i]);
if a[i]>0 then n:=n+1;
if a[i]<0 then
begin
sum:=sum+a[i];
k:=k+1;
end;
end;
sr:=sum/k;
writeln ('srednee=',sr);
writeln ('poloshitel=',n);
end.