Distance To Special Point
This is an interactive problem
On the plane the integer points with coordinates does not exceeding are labeled. The movement is allowed along the lines that are parallel to the coordinate axis, so the distance between two points that have coordinates and is calculated as .
There is unknown special labeled point . You may for one query ask the distance from the labeled point you choose to the point . Your task is to guess the coordinates of for two queries.
Interaction Protocol The interaction is started by your program. You may ask the queries in the format — ask the distance (in definitions of the task) from the labeled point with coordinates to the point and are integers).
If you are ready to print the answer, use the following format: and are the coordinates of the point , then exit the program. This action is not considered as a query.
Note For the correct interaction print the end-of-line after each query and after the answer and flush the output buffer with the respective functions of your programming language:
cout.flush() or fflush(stdout) for C/C++;
stdout.flush() for Python;
look your language documentation for the other languages.