#include <bits/stdc++.h>
using namespace std;
const int N = 1e3 + 10;
int t;
int a, b;
int main() {
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    a = n - 1;
    while ((y - x) % a != 0) {
      a--;
    }
    a = (y - x) / a;
    b = y - a * (n - 1);
    while (b <= 0) {
      b += a;
    }
    for (int i = 1; i <= n; i++) {
      cout << b << " ";
      b += a;
    }
    cout << endl;
  }
  return 0;
}
