You are given an array of A integers. You must perform Q queries on this array.
The queries must be one of the following types:
The array is 1-indexed.
For every query of type 3, print the answer to the query.
Input format
Output format
For every query of type 3, print the answer to the query.
Constraints
1≤q≤3×105
In the first and second type of queries, 0≤x≤109
In the third type of queries, 1≤x≤y≤n, where n is the current size of the array
2=2
2⊕9⊕7=12
6⊕2=8
2⊕9⊕7⊕4=8