You are given 2 arrays A,B of n integers.
There are q queries of either form:
- 1xyk: assign Ax+t to By+t for 0≤t<k.
- 2i: find the value Bi.
### Input
- The first line contains 2 integers n,q.
- The second line contains n integers Ai.
- The third line contains n integers Bi.
- The next q lines, each line contains 4 or 2 integers depends on query type.
### Output
- Print each query of type 2, print the answer.
### Constraints
- 1≤n,q≤105.
- 1≤x,y≤n.
- 1≤x+k−1,y+k−1≤n
- 0≤|Ai|≤109.
### Example
Input:
510120-13315-2025133325242112142124142122
Output:
03-1323-1