You are given an array a of n numbers and q queries. In each query, l, r find XOR of all n numbers except the range [l,r].
Input format
Output format
For each test case, print the answer as described in the problem statement.
Example
Let the array a be [1,2,3,4] and you are given a query (2,3), then print the XOR of all the array a without the range [2,3].
Hence, the answer will be 1{XOR}4.
Constraints
1≤n≤105
1≤q≤105
1≤ai≤109
1≤l,r≤n
In the first test case, the XOR of the array without the numbers in the range [2,3]. So, compute XOR of 1,4,5 it equals to 0.