#include using namespace std; int main() { int n; cin >> n; int ret = 0; while(n--) { int x; cin >> x; ret += x % 2; } cout << ret << "\n"; }