Program HOC24;
var c: array[1..1000] of integer;
i,n,d: integer;
begin
write('Nhap N: '); readln(n);
d:=0;
for i:=1 to n do
begin
write('C[',i,']='); readln(c[i]);
if c[i] mod 2=0 then d:=d+1;
end;
writeln('Co ',d,' so chan');
for i:=1 to n do if a[i] mod 2=0 then write(a[i],' ');
readln
end.