#include<iostream>
using namespace std;
int main(){
int n,suma=0;
cin>>n;
int v[n+1];
for(int i=1; i<=n;i++)
cin>>v[i];
if(v[i]%2!=0 && i%2==0)
suma++;
cout<<suma; }