#include <bits/stdc++.h>
using namespace std;
void answer() {
  long long n, x, y, ans, n1, d = 99999, m;
  cin >> n >> x >> y;
  n1 = n;
  m = y - x;
  for (int i = 1; i * i <= m; i++) {
    if (m % i == 0) {
      if ((m / i) + 1 <= n) {
        d = min(d, (long long)i);
      }
      if (i + 1 <= n) {
        d = min(d, (long long)m / i);
      }
    }
  }
  if (d == 99999) {
    d = m;
  }
  vector<int> v;
  int val = x;
  while (val >= x && val <= y) {
    v.push_back(val);
    val = val + d;
    n--;
  }
  val = x;
  while (n > 0 && val > d) {
    val = val - d;
    v.push_back(val);
    n--;
  }
  val = y;
  while (n > 0) {
    val = val + d;
    v.push_back(val);
    n--;
  }
  for (int i = v.size() - 1; i >= 0; i--) {
    cout << v[i] << " ";
    n1--;
  }
  cout << "\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int q;
  cin >> q;
  while (q--) answer();
}
