const Main =(input)=>{
const first=input.split("\n");
  const num=first[1].split(" ");
  
let count =0;
  if(num[i]/2===0){
    count++;
  }
  console.log(count);
}

Main(require('fs').readFileSync('/dev/stdin', 'utf8'));
