The first line contains a single integer
-the number of equations.
Next
lines, the i-th line contains four integers
separated by space. It is guaranteed that
. And it can be proved that the solutions satisfied the conditions are always existed.
The output should containslines. The i-th line should contains two integers
separated by space. If it has multiple solutions, you can print any of them.