#657. Equal neighbors
How many i are there with a[i] = a[i+1]?
### Input
The first line has n, the second line has n integers separated by spaces.
### Output
A number.
Examples
Input
3 3 1 2
Output
0
Input
7 2 3 3 0 0 0 2
Output
3
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.