This is an interactive problem.
There is a hidden strictly convex polygon . The polygon has exactly vertices. All vertices are integer points, and each vertex satisfies and .
You may ask the interactor an integer vector . The interactor will return the integer value , where is any point inside or on the boundary of polygon .
Your task is to determine all vertices of polygon using no more than queries.
First, read an integer (), denoting the number of test cases.
For each test case, first read an integer (), denoting the number of vertices of the hidden polygon.
It is guaranteed that the sum of over all test cases does not exceed .
Also, it is guaranteed that the interactor is non-adaptive, which means the polygon is determined before interaction.
To ask a query with vector (, , and ), output:
Then you should read an integer , where .
When you have determined all vertices of polygon for the current test case, output:
Here, (, ) are all vertices of polygon . You may output the vertices in any order.
After outputting the answer, you should continue to the next test case.
1
3
19
20
0
30
20
? 4 5
? -1 7
? -2 -9
? 0 10
? 5 -1
! 0 0 4 0 1 3