"Permutations are Back !"
Given an integer , construct any permutation of \{1,2,3,...,n\} such that
Holds for all (1 \le i \le n-2).
The first line contains a single integer (1 \le t \le 10^4) – the number of test cases.
The only line of each test case contains a single integer (4 \le n \le 2 \cdot 10^5) – the length of permutation .
It's guaranteed that the sum of overall tests doesn't exceed 2 \cdot 10^5.
For each test case, output permutation of p_1,p_2,..,p_n satisfying the condition.
It's guaranteed that such a permutation always exists.
Example 1
In the first test case , the sums are (2+4+1),(4+1+3) which are respectively , both of them are not divisible by .
In the second test case , the sums are (2+5+1),(5+1+4),(1+4+3) which are respectively , all of them are not divisible by .
Subtask ( points) : (4 \le n \le 8)
Subtask ( points) : (n=16)
Subtask ( points) : (n=17)
Subtask ( points) : (n \le 30)
Subtask ( points) : (4 \le n \le 100)
Subtask ( points) : (n \bmod 3=0)
Subtask ( points) : (4 \le n \le 1000)
Subtask ( points) : No additional constraints.