Program HOC24;
var i,n,l,c: byte;
a: array[1..100] of integer;
begin
write('Nhap N: '); readln(n);
for i:=1 to n do
begin
write('Nhap so thu ',i,': '); readln(a[i]);
end;
write('Day vua nhap la: ');
for i:=1 to n do write(a[i],' ');
writeln;
c:=0; l:=0;
for i:=1 to n do
if a[i] mod 2=0 then c=c+1 else l=l+1;
writeln('Day co ',c,' so chan');
writeln('Day co ',l,' so le');
readln
end.