import java.util.*;
import java.lang.*;
import java.io.*;
class A
{
{
Scanner in
= new Scanner
(System.
in); int n, number, count = 0;
n = in.nextInt();
for (int i = 0;i < n; i++){
number = in.nextInt();
if ((number / 2) % 2 == 1) count++;
}
in.close();
return;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CiAKY2xhc3MgQQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTY2FubmVyIGluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQlpbnQgbiwgbnVtYmVyLCBjb3VudCA9IDA7CgkJbiA9IGluLm5leHRJbnQoKTsKCQlmb3IgKGludCBpID0gMDtpIDwgbjsgaSsrKXsKCQkJbnVtYmVyID0gaW4ubmV4dEludCgpOwoJCQlpZiAoKG51bWJlciAvIDIpICUgMiA9PSAxKSBjb3VudCsrOwoJCX0KCQlTeXN0ZW0ub3V0LnByaW50KGNvdW50KTsKCQlpbi5jbG9zZSgpOwoJCXJldHVybjsKCX0KfQ==