import sys
input=sys.stdin.readline
t=int(input())
for _ in range(t):
    n=int(input())
    arr=[]  
    for x in range((n-2)//2+1):
        arr.append(n*100+n*5-x)
        arr.append(n*100-n*5+x)
    if n%2==1:
        arr.append(n*100)
    print(*arr)

항상 max-min==sum**(1/2)==n*10 되도록 만들었음