program CTNMT;
uses crt;
var n,i,dem: longint;
A: array [1..1000] of longint;
Begin
Writeln('Ban hay N'); Readln(n);
for i:=1 to n do
begin
Writeln('Nhap so thu ',i); Readln(a[i]);
end;
Writeln('In ra mang:');
for i:1 to n do Write(a[i]:5);
writeln;
Writeln('In ra so chan trong mang');
for i:= 1 to n do
begin
if (a[i] mod 2) = 0 then Write(a[i]:5)
if a[i] < 0 then dem:= dem +1;
end;
writeln('so so nguyen am la: ',đem);
REadln;
end.