program natural;
uses CRT;
var n, number, result, i: integer;
begin
clrscr;
writeln('Enter n');
readln(n);
result := 0;
for i := 1 to n do
begin
readln(number);
if number mod 4 = 0 then result := result + 1;
end;
writeln('Result is ', result);
readln
end.