#include <bits/stdc++.h>
using namespace std;
bool comparator(const pair<long long, pair<long long, long long>>& i1,
                const pair<long long, pair<long long, long long>>& i2) {
  return i1.first < i2.first;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long t, x, y, n;
  cin >> t;
  for (int i = 0; i < t; ++i) {
    int n, x, y;
    cin >> n >> x >> y;
    int diff = y - x;
    for (int delta = 1; delta <= diff; ++delta) {
      if (diff % delta) continue;
      if (diff / delta + 1 > n) continue;
      int k = min((y - 1) / delta, n - 1);
      int a0 = y - k * delta;
      for (int i = 0; i < n; ++i) {
        cout << (a0 + i * delta) << ' ';
      }
      cout << endl;
      break;
    }
  }
  return 0;
}
