#include <iostream>
using namespace std;

int main(){
	int n,x;
	int count=0;
	cin >> n;
	int *a =new int [n];
	for(int i=0;i < n ;i++){
		cin >> x;
		a[i]=x;
		if(a[i]%2==1) count ++;




	}
	cout << count???<<endl;

	return 0;
}