You're given an integer . You're asked to determine any valid permutation of \{1,2,3,...,n\} such that:
\displaystyle a_i=\frac{p_i}{i}
if is even then this must hold a_{i-1}<a_i>a_{i+1}
if is odd then this must hold a_{i-1}>a_i<a_{i+1}
If no such permutation exists print .
The first line contains single integer (1 \le t \le 1000) – the number of test cases.
The first line of each test case contains single integer (3 \le n \le 10^5) – the length of the permutation .
It's guaranteed that \sum n \le 10^5.
For each test case, if such permutation exists then output any valid permutation, otherwise output .
Example 1
Subtask ( points): (3 \le n \le 6)
Subtask ( points): (n=50)
Subtask ( points): (n=10^5)
Subtask ( points): No additional constraints.