#include <bits/stdc++.h>

using namespace std;

int main(){
  int n, a[109], cnt=0;;
  cin >> n;
  for(int i=1;i<=n;i++){
    cin >> a[i];
    if(i%2==1&&a[i]%2==1)cnt++;
  }
  cout << cnt << endl;
}

