SP11470 TTM - To the moon

Description

N/A

Input Format

``` n m A1 A2 ... An ... (here following the m operations. ) ```

Output Format

`... (for each query, simply print the result. )`