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≤1000) in the sequence. The second line contains n elements, each of them does not exceed 100 by absolute value.
Print the number of elements with two even neighbours.