You are given a permutation of the integers from to .
Construct a permutation .
The sequence must be . In other words, must hold for every ().
It is guaranteed that such a permutation always exists.
The input is given in the following format:
For each test case, print the elements of any valid permutation on one line, separated by spaces.
Each case is given in the following format:
is the number of test cases. Each case gives the length and the permutation .
If multiple valid answers exist, print any of them.
| 2 | 23 | . |
| 3 | 17 | (). |
| 4 | 47 | No additional constraints. |