uses crt;
var a:array[1..100]of integer;
i,n,dem:integer;
begin
clrscr;
readln(n);
for i:=1 to n do readln(a[i]);
dem:=0;
for i:=1 to n do
if a[i] mod 2=0 then dem:=dem+1;
writeln(dem);
readln;
end.
Đúng 0
Bình luận (0)