You are the proud owner of an infinitely large grid of lightbulbs, represented by a Cartesian coordinate system. Initially, all of the lightbulbs are turned off, except for one lightbulb, where you buried your proudest treasure.
In order to hide your treasure's position, you perform the following operation an arbitrary number of times (possibly zero):
In the end, there are $$$n$$$ lightbulbs turned on at coordinates $$$(x_1, y_1), (x_2, y_2), \ldots, (x_n, y_n)$$$. Unfortunately, you have already forgotten where you buried your treasure, so now you have to figure out one possible position of the treasure. Good luck!
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
The first line of each test case contains a single integer $$$n$$$ ($$$1 \le n \le 2 \cdot 10^5$$$) — the number of lightbulbs that are on.
The $$$i$$$-th of the next $$$n$$$ lines contains two integers $$$x_i$$$ and $$$y_i$$$ ($$$\color{red}{-10^8} \le x_i, y_i \le \color{red}{10^8}$$$) — the coordinates of the $$$i$$$-th lightbulb. It is guaranteed that all coordinates are distinct.
Additional constraint: There exists at least one position $$$(s, t)$$$ ($$$\color{red}{-10^9} \le s, t \le \color{red}{10^9}$$$), such that if the lightbulb at position $$$(s, t)$$$ is initially turned on, then after performing an arbitrary number of operations (possibly zero), we will get the given configuration of lightbulbs.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
For each test case, output two integers $$$s$$$ and $$$t$$$ ($$$-10^9 \le s, t \le 10^9$$$) — one possible position of the buried treasure. If there are multiple solutions, print any of them.
For this problem, hacks are disabled.
412 33-2 -1-1 -2-1 -377 266 276 287 278 268 277 281170 969 869 073 570 -170 571 770 473 471 372 3
2 3 -2 -2 7 27 72 7
For the first test case, one possible scenario is that you hid your treasure at position $$$(2, 3)$$$. Then, you did not perform any operations.
In the end, only the lightbulb at $$$(2, 3)$$$ is turned on.
For the second test case, one possible scenario is that you hid your treasure at position $$$(-2, -2)$$$. Then, you performed $$$1$$$ operation with $$$x = -2$$$, $$$y = -2$$$.
The operation switches the state of the $$$4$$$ lightbulbs at $$$(-2, -2)$$$, $$$(-2, -1)$$$, $$$(-1, -3)$$$, and $$$(-1, -2)$$$.
In the end, the lightbulbs at $$$(-2, -1)$$$, $$$(-1, -2)$$$, and $$$(-1, -3)$$$ are turned on.