Problem: This is an interactive problem.
There is a positive integer that you have to guess.
In one query you can choose two positive integers . As an answer to this query you will get , where is the greatest common divisor of the numbers and .
To guess one hidden number you are allowed to make no more than queries.
Input Format: The first line of input contains a single integer () denoting the number of test cases.
The integer that you have to guess satisfies the constraints: ().
Note: The first hidden number is , that's why the answers for the queries are:
"? 1 2" — .
"? 12 4" — .
The second hidden number is , that's why the answer for the query is:
"? 2000000000 1999999999" — .
These queries are made only for understanding the interaction and are not enough for finding the true .