#include <bits/stdc++.h>
using namespace std;
int main(int argc, const char* argv[]) {
  int tc, a, b, x, y, n;
  cin >> tc;
  while (tc--) {
    cin >> n >> x >> y;
    int dif = y - x;
    int i;
    for (i = n - 1; i > 0; i--) {
      if (dif % i == 0) break;
    }
    dif = dif / i;
    for (int j = 0; j <= i; j++) {
      cout << x + (j * dif) << " ";
    }
    for (int j = i + 1, k = 1, l = 1; j < n; j++, k++) {
      if (x - (k * dif) > 0) {
        cout << x - (k * dif) << " ";
      } else {
        cout << y + (l * dif) << " ";
        l++;
      }
    }
    cout << endl;
  }
  return 0;
}
