// Arup Guha
// 10/5/2024
// Solution to 2024 NAQ Problem C: Call for Problems

import java.util.*;

public class callforproblems {

	public static void main(String[] args) {
	
		Scanner stdin = new Scanner(System.in);
		int n = stdin.nextInt();
		
		int res = 0;
		
		for (int i=0; i<n; i++) {
			int x = stdin.nextInt();
			if (x%2 == 1) res++;
		}
		
		System.out.println(res);
	}
}