Our friend Monk was given an integer array A of size N. He got a task to calculate the Absolute Difference between the number of odd and even pairs present in this array A.
A Pair of 2 integers is called an odd pair, if , and is not divisible by 2. A pair of integers is called even, if , and is divisible by 2.
This task seems a little bit tricky to him, and wants you to help him out. Can you ?
Input Format:
The first Line contains an integer N denoting the size of array. The next line contains N space separated integers, where the integer denotes .
Output Format :
Print the required answer on a single line.
Constraints:
Even pairs- (1,3) ==> 1
Odd Pairs- (1,2), (2,3) ==> 2