The sequence of integers is given. Count the number of elements with even neighbours.
The first line contains the number of sequence elements n (n ≤ 100). In the second line the sequence elements are given, each of them does not exceed 100 by absolute value.
Print the number of elements with even neighbours.
6 1 2 3 4 5 6