A group of scientists from MEPhI is working on another experiment. They want to conduct an experiment with various charged particles.
During the experiment, the following types of events may occur:
The experiment may have significant implications for future work, so the scientists ask you to write a program that will verify the correctness of the results.
The first line contains a single integer $$$q\, (1 \le q \le 3 \cdot 10^5)$$$ – the number of queries. Each of the following $$$q$$$ lines contains the next query in the format described above.
It is guaranteed that in each of them $$$1 \le t \le q$$$ and $$$1 \le x \le 10^9$$$, and that all numbers in the input are integers.
For each query of type $$$4$$$ and $$$5$$$, output the required number on a separate line.
62 10 251 15 11 17 23 3 14
-1 35
171 10 11 10 23 10 1541 20 12 20 152 10 142 30 12 20 1452 10 245
10 30 10 30 10 10 0 -1