The sequence of integers is given. Count the number of elements with two even neighbours.
The first line contains the number of elements n~(n \le 1000) in the sequence. The second line contains elements, each of them does not exceed by absolute value.
Print the number of elements with two even neighbours.
Example 1