#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e15;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n, x, y;
    cin >> n >> x >> y;
    vector<long long> v(n);
    long long mn = INF, s = -1, e = -1;
    for (long long i = 0; i < n; i++) {
      for (long long j = i + 1; j < n; j++) {
        long long bw = j - i;
        long long d = (y - x) / bw;
        if ((y - x) % bw != 0) continue;
        long long tlast = n - i;
        long long mx = x + (tlast - 1) * d;
        long long f = mx + (n - 1) * (-d);
        if (mx < mn && f > 0) {
          mn = mx;
          s = i, e = j;
        }
      }
    }
    long long bw = (e - s);
    long long d = (y - x) / bw;
    long long tlast = n - s;
    long long last = x + (tlast - 1) * d;
    for (long long i = 1; i <= n; i++) {
      cout << last + (i - 1) * (-d) << " ";
    }
    cout << "\n";
  }
}
