Problem: We have a secret array. You don't know this array and you have to restore it. However, you know some facts about this array:

  * The array consists of n distinct positive (greater than 0) integers. 
  * The array contains two elements x and y (these elements are known for you) such that x < y. 
  * If you sort the array in increasing order (such that a_1 < a_2 < … < a_n), differences between all adjacent (consecutive) elements are equal (i.e. a_2 - a_1 = a_3 - a_2 = … = a_n - a_{n-1}). 



It can be proven that such an array always exists under the constraints given below.

Among all possible arrays that satisfy the given conditions, we ask you to restore one which has the minimum possible maximum element. In other words, you have to minimize max(a_1, a_2, ..., a_n).

You have to answer t independent test cases.

Input

The first line of the input contains one integer t (1 ≤ t ≤ 100) — the number of test cases. Then t test cases follow.

The only line of the test case contains three integers n, x and y (2 ≤ n ≤ 50; 1 ≤ x < y ≤ 50) — the length of the array and two elements that are present in the array, respectively.

Output

For each test case, print the answer: n integers a_1, a_2, ..., a_n (1 ≤ a_i ≤ 10^9), where a_i is the i-th element of the required array. If there are several answers, you can print any (it also means that the order of elements doesn't matter).

It can be proven that such an array always exists under the given constraints.

Example

Input


5
2 1 49
5 20 50
6 20 50
5 3 8
9 13 22


Output


1 49 
20 40 30 50 10
26 32 20 38 44 50 
8 23 18 13 3 
1 10 13 4 19 22 25 16 7 

Solution (in PYTHON3):

Solution:
import math
for i in range(int(input())):
    n,x,y=map(int,input().split())
    n=n-2
    if(n==0):
        print(x,y)
        continue
    else:
        print(x,y,end=" ")
        k=y-x
        f=0
        if k<=(n+1):
            for i in range(x+1,y):
                print(i,end=" ")
                n=n-1
            t=x-1
            while(n>0 and t>0):
                print(t,end=" ")
                t-=1
                n-=1
            t=y+1
            while(n>0):
                print(t,end=" ")
                t+=1
                n-=1
            print()
            continue
        for i in range(2,int(math.sqrt(k))+1):
            if(k%i==0):
                f=1
                r=i
                break
        if(f==0 or k==1):
            if k==1:
                t=x-1
                while(n>0 and t>0):
                    print(t,end=" ")
                    t-=1
                    n-=1
                t=y+1
                while(n>0):
                    print(t,end=" ")
                    t+=1
                    n-=1
            else:
                if k<=(n+1):
                    for i in range(x+1,y):
                        print(i,end=" ")
                        n=n-1
                    t=x-1
                    while(n>0 and t>0):
                        print(t,end=" ")
                        t-=1
                        n-=1
                    t=y+1
                    while(n>0):
                        print(t,end=" ")
                        t+=1
                        n-=1
                else:
                    t=x-k
                    while(n>0 and t>0):
                        print(t,end=" ")
                        t-=k
                        n-=1
                    t=y+k
                    while(n>0):
                        print(t,end=" ")
                        t+=k
                        n-=1
            print()
        else:
            q=(k//r)-1
            if q<=n:
                for i in range(x+r,y,r):
                    n-=1
                    print(i,end=" ")
                t=x-r
                while(n>0 and t>0):
                    print(t,end=" ")
                    t-=r
                    n-=1
                t=y+r
                while(n>0):
                    print(t,end=" ")
                    t+=r
                    n-=1
            else:
                f=0
                for x1 in range(n+1,1,-1):
                    if k%x1==0:
                        f=1
                        r=k//x1
                        break
                if(f==1):
                    for i in range(x+r,y,r):
                        print(i,end=" ")
                        n-=1
                    t=x-r
                    while(n>0 and t>0):
                        print(t,end=" ")
                        t-=r
                        n-=1
                    t=y+r
                    while(n>0):
                        print(t,end=" ")
                        t+=r
                        n-=1
                else:
                    t=x-k
                    while(n>0 and t>0):
                        print(t,end=" ")
                        t-=k
                        n-=1
                    t=y+k
                    while(n>0):
                        print(t,end=" ")
                        t+=k
                        n-=1
            print()