Everyone knows that (a + b)^n is never equal to a^n + b^n for positive integers $$$a, b$$$ and $$$n$$$ if $$$n \ge 2$$$. Or is it? Look again.
Given an integer $$$n \ge 2$$$, you have to find positive integers $$$a$$$ and $$$b$$$ such that (a + b)^n is equal to a^n + b^n, where every symbol is interpreted as it is in C++, including operator precedence. In other words, you have to find $$$a$$$ and $$$b$$$ such that $$$$$$ (a + b) \oplus n = a \oplus (n + b) \oplus n $$$$$$ holds, where $$$\oplus$$$ is the bitwise XOR operation.
The first line contains one integer $$$t$$$ ($$$1 \le t \le 10^5$$$) — the number of test cases. $$$t$$$ test cases follow.
Each test case consists of one integer $$$n$$$ ($$$2 \le n \lt 2^{60}$$$).
For each test case, print the answer on a separate line as follows.
52361018
1 1 -1 3 5 7 3 11 39
| Name |
|---|


