Var a:array[1..999999] of integer; i,k,n:integer; begin readln(n); for i:=1 to n do begin read(a[i]); if a[i]<0 then k+=1;<br>end; writeln(k); end.