#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("-ffloat-store")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
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 n, x, y;
    cin >> n >> x >> y;
    long long diff = y - x;
    long long k;
    for (int i = diff; i > 0; i--) {
      if (diff % i == 0 && n >= i + 1) {
        k = i;
        break;
      }
    }
    vector<long long> v;
    long long d = diff / k;
    long long val = y;
    while (val > 0 && v.size() < n) {
      v.push_back(val);
      val = val - d;
    }
    while (v.size() < n) {
      v.push_back(y + d);
      y += d;
    }
    for (auto i : v) cout << i << " ";
    cout << "\n";
  }
  return 0;
}
