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 JAVA):

Solution:
import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.StringTokenizer;

public class C {

    static class Task {

        private boolean isPrime(int num) {
            int end = (int) Math.sqrt(num);
            for (int i = 2; i <= end; i++) {
                if (num % i == 0) {
                    return false;
                }
            }

            return true;
        }

        public void solve(int testNumber, InputReader in, PrintWriter out) {
            int t = in.nextInt();
            while ((t--) > 0) {
                int n = in.nextInt();
                int x = in.nextInt();
                int y = in.nextInt();

                int diff = y - x;

                if (n == 2) {
                    out.println(x + " " + y);
                    continue;
                }

                List<Integer> list = new ArrayList<>();

                if (isPrime(diff)) {
                    if (diff - 1 > n - 2) {
                        list.add(x);
                        list.add(y);
                        int leftCount = n - 2;
                        int num = x - diff;
                        while (num > 0 && leftCount > 0) {
                            list.add(num);
                            num -= diff;
                            leftCount--;
                        }

                        num = y + diff;
                        while (leftCount > 0) {
                            list.add(num);
                            num += diff;
                            leftCount--;
                        }
                    } else {
                        for (int i = x; i <= y; i++) {
                            list.add(i);
                        }

                        int leftCount = n - diff - 1;
                        int num = x - 1;
                        while (leftCount > 0 && num > 0) {
                            list.add(num);
                            leftCount--;
                            num--;
                        }

                        num = y + 1;
                        while (leftCount > 0) {
                            list.add(num);
                            leftCount--;
                            num++;
                        }
                    }

                    for (Integer num1 : list) {
                        out.print(num1 + " ");
                    }
                    out.println();
                    continue;
                }

                int leftCount = n - 2;
                int min = Integer.MAX_VALUE;
                int minDiff = Integer.MAX_VALUE;

                for (int i = 1; i <= diff; i++) {
                    if (diff % i == 0 && i - 1 <= leftCount) {
                        if (leftCount - (i - 1) < min) {
                            min = leftCount - (i - 1);
                            minDiff = diff / i;
                        }
                    }
                }

                leftCount = n;
                for (int i = x; i <= y; i+=minDiff) {
                    list.add(i);
                    leftCount--;
                }

                int num = x - minDiff;
                while (leftCount > 0 && num > 0) {
                    list.add(num);
                    num -= minDiff;
                    leftCount--;
                }

                num = y + minDiff;
                while (leftCount > 0) {
                    list.add(num);
                    num += minDiff;
                    leftCount--;
                }

                for (Integer num1 : list) {
                    out.print(num1 + " ");
                }
                out.println();
            }
        }
    }

    private static void sort(double[] arr) {
        Double[] objArr = Arrays.stream(arr).boxed().toArray(Double[]::new);
        Arrays.sort(objArr);
        for (int i = 0; i < arr.length; i++) {
            arr[i] = objArr[i];
        }
    }

    private static void sort(int[] arr) {
        Integer[] objArr = Arrays.stream(arr).boxed().toArray(Integer[]::new);
        Arrays.sort(objArr);
        for (int i = 0; i < arr.length; i++) {
            arr[i] = objArr[i];
        }
    }

    private static void sort(long[] arr) {
        Long[] objArr = Arrays.stream(arr).boxed().toArray(Long[]::new);
        Arrays.sort(objArr);
        for (int i = 0; i < arr.length; i++) {
            arr[i] = objArr[i];
        }
    }

    private static void solve() {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        InputReader in = new InputReader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        Task task = new Task();
        task.solve(1, in, out);
        out.close();
    }

    public static void main(String[] args) {
        new Thread(null, () -> solve(), "1", 1 << 26).start();
    }

    static class InputReader {

        public BufferedReader reader;
        public StringTokenizer tokenizer;

        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

        public int nextInt() {
            return Integer.parseInt(next());
        }

        public long nextLong() {
            return Long.parseLong(next());
        }

        public double nextDouble() {
            return Double.parseDouble(next());
        }

    }

}