#include <bits/stdc++.h>
using namespace std;
const int N = 2 * 1e5 + 10;
const long long inf = 9e18 + 9;
long long res;
long long a[N];
void solve() {
  long long n, x, y;
  cin >> n >> x >> y;
  long long diff = -1, st = -1;
  for (int i = 0; i <= 50; i++) {
    bool fl = 0;
    for (int j = 1; j <= x; j++) {
      long long val = j;
      long long a = 0, b = 0, temp = 0;
      while (temp++ < n) {
        if (val == x) {
          a = 1;
        }
        if (val == y) {
          b = 1;
        }
        if (a && b) {
          diff = i;
          st = j;
          break;
        }
        val += i;
      }
      if (a && b) {
        fl = 1;
        break;
      }
    }
    if (fl) {
      break;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << st << " ";
    st += diff;
  }
  cout << "\n";
}
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
