Problem Description
You are given an array A of length N. Your task is to find and return an integer value representing the difference between the sum of elements at odd index and XOR of elements at even index.
Input Format:
* input1: An integer N, representing the length of array.