#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    long long int n, x, y;
    cin >> n >> x >> y;
    long long int ans = INT_MAX;
    long long int a[n];
    for (int i = 1; i <= 50; i++) {
      bool xf = false, yf = false;
      for (int d = 1; d <= 50; d++) {
        double t1 = ((double)x - (double)i) / (double)d;
        double t2 = ((double)y - (double)i) / (double)d;
        if (ceil(t1) == (floor(t1)) and ceil(t2) == floor(t2) and t2 < n and
            t2 > 0 and t2 - t1 < n) {
          long long int last = i + ((n - 1) * d);
          if (last < ans) {
            ans = last;
            for (int j = 0; j < n; j++) {
              a[j] = i + (j * d);
            }
          }
        }
      }
    }
    for (int i = 0; i < n; i++) {
      cout << a[i] << " ";
    }
    cout << endl;
  }
}
