Олимпиадный тренинг

Задача 2966. Processing of entered numbers - 2


Задача

Темы: Цикл for
You are given a sequence of N numbers. Count the number of even numbers in even places in it.
 
Input data: in the first line enters the number N, in the following lines you enter N numbers (one number per line) - the members of the sequence.
 
Output.
Print the number of even numbers in even places (numbered from 0 ) in the sequence.

Examples
# Input Output
1 5
1
2
4
5
6
2
 
Explanation: the numbers 4 and 6 are suitable, as they are, respectively, in the 2nd and 4th places.