Different Sums

아직 제출이 없습니다시간 제한1초메모리 제한256 MB

문제

A subsum of a sequence is a sum of one or more consecutive elements of this sequence.

You are given an integer NN. Your task is to make a sequence of positive integers which are not greater than 3(N+6)3 \cdot (N + 6) such that all its N(N+1)/2N \cdot (N + 1) / 2 subsums are different from each other.

입력

There are several test cases.

The first line of input contains an integer TT, the number of test cases (1T2001 \leq T \leq 200).

Each of the next TT lines contains an integer NN, the length of the sequence (1N20001 \le N \le 2000).

출력

For each test case, print one line with NN space-separated positive integers representing your sequence.

If multiple solutions exist, any of them will be accepted.