You are given an array of size . The value of the array is the bitwise XOR of the elements that the array contains. For example, the value of the array = . Now, you are required to find the bitwise XOR of the value of all subarrays of array .
Input format
Output format
For each of the test case, print the required answer in a separate line.
Constraints
For the given input following subarrays are possible : [1], [1 2], [2] and when you XOR them answer is 0.