uses crt;
var d,i,n:integer;
a:array[1..100]of integer;
begin
write('nhap do dai day so:');readln(n);
d:=0;
for i:=1 to n do begin
writeln('nhap so thu ',i,':');readln(a[i]);
if a[i] mod 2=0 then d:=d+1;
end;
writeln('trong day co ',d,' so chan');
readln
end.