JJ challenges his friend GG to construct an array
containing distinct elements such that the following conditions hold:
- For all ,
- For every subarray of length , the sum of all the elements of the subarray is not divisible by the length of the subarray
Please help perplexed GG to complete JJ's challenge.
Input Format
- The first line contains - the number of test cases. Then the test cases follow.
- The first and only line of each test case contains an integer - the size of the array to be constructed.
Output Format
For each test case, output an array containing distinct elements which satisfy the given conditions.
If there are multiple arrays that satisfy the conditions, print any.
Constraints
Sample Input 1
2
3
4
Sample Output 1
7 2 5
3 18 11 2
Explanation
Test case-1: Following are the subarrays of length :
- : ,
- :
We can see that for each of these subarrays, the sum is not divisible by the length.
Test case-2: Following are the subarrays of length :
- : , ,
- : ,
- :
We can see that for each of these subarrays, the sum is not divisible by the length.
ConversionConversion EmoticonEmoticon