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

Solution:
#include <bits/stdc++.h>
using namespace std;
const int MaxN = 5e3;
const long long Inf = 0x3f3f3f3f3f3f3f3f;
const int inf = 0x3f3f3f3f;
const long long mod = 1e9 + 7;
const double eps = 1e-7;
template <class T>
inline void read(T &res) {
  char c;
  T flag = 1;
  while ((c = getchar()) < '0' || c > '9')
    if (c == '-') flag = -1;
  res = c - '0';
  while ((c = getchar()) >= '0' && c <= '9') res = res * 10 + c - '0';
  res *= flag;
}
int t, n;
long long a, b, ans, res, d, D;
long long p[105];
long long cal(int x, int y, long long A, long long B) {
  if (abs(a - b) % abs(x - y)) return Inf;
  if (x > y) {
    swap(x, y);
    swap(A, B);
  }
  p[x] = A;
  p[y] = B;
  d = (B - A) / (y - x);
  for (int i = x - 1; i >= 1; --i) p[i] = p[i + 1] - d;
  for (int i = x + 1; i <= n; ++i) p[i] = p[i - 1] + d;
  for (int i = 1; i <= n; ++i)
    if (p[i] < 1 || p[i] > 1e9) return Inf;
  long long Max = 0;
  for (int i = 1; i <= n; ++i) Max = max(p[i], Max);
  return Max;
}
int main() {
  cin >> t;
  while (t--) {
    cin >> n >> a >> b;
    int pos1 = 0, pos2 = 0;
    ans = Inf;
    for (int i = 1; i <= n; ++i) {
      for (int j = 1; j <= n; ++j) {
        if (i == j) continue;
        res = cal(i, j, a, b);
        if (res < ans) {
          pos1 = i, pos2 = j;
          ans = res;
          D = d;
        }
      }
    }
    p[pos1] = a;
    p[pos2] = b;
    for (int i = pos1 - 1; i >= 1; --i) p[i] = p[i + 1] - D;
    for (int i = pos1 + 1; i <= n; ++i) p[i] = p[i - 1] + D;
    for (int i = 1; i <= n; ++i) printf("%lld%c", p[i], i == n ? '\n' : ' ');
  }
  return 0;
}