#include <bits/stdc++.h>
using namespace std;
bool valid(long long x, long long y, long long d, long long n) {
  long long e = 0, s = y;
  bool ret = false;
  while (e < n && s > 0) {
    ++e;
    if (s == x) ret = true;
    s -= d;
  }
  s = y;
  while (e < n) {
    ++e;
    s += d;
  }
  return ret && e == n;
}
signed main() {
  long long t = 1;
  cin >> t;
  while (t--) {
    long long n, x, y;
    cin >> n;
    long long a[n];
    cin >> x >> y;
    vector<long long> v;
    long long d = y - x;
    for (long long i = 1; i <= y - x; ++i) {
      if (valid(x, y, i, n)) {
        d = i;
        break;
      }
    }
    long long s = y, e = 0;
    while (e < n && s > 0) {
      ++e;
      cout << s << ' ';
      s -= d;
    }
    s = y;
    while (e < n) {
      ++e;
      s += d;
      cout << s << ' ';
    }
    cout << endl;
  }
  return 0;
}
