#aising2020b. [aising2020_b]An Odd Problem

[aising2020_b]An Odd Problem

Problem Statement

We have NN squares assigned the numbers 1,2,3,ldots,N1,2,3,\\ldots,N. Each square has an integer written on it, and the integer written on Square ii is aia_i.

How many squares ii satisfy both of the following conditions?

  • The assigned number, ii, is odd.
  • The written integer is odd.

Constraints

  • All values in input are integers.
  • 1leqN,aileq1001 \\leq N, a_i \\leq 100

Input

Input is given from Standard Input in the following format:

NN a1a_1 a2a_2 cdots\\cdots aNa_N

Output

Print the number of squares that satisfy both of the conditions.


Sample Input 1

5
1 3 4 5 7

Sample Output 1

2
  • Two squares, Square 11 and 55, satisfy both of the conditions.
  • For Square 22 and 44, the assigned numbers are not odd.
  • For Square 33, the written integer is not odd.

Sample Input 2

15
13 76 46 15 50 98 93 77 31 43 84 90 6 24 14

Sample Output 2

3