#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
void solve();
int main() {
  int cases;
  cin >> cases;
  while (cases--) solve();
}
void solve() {
  int n, x, y;
  cin >> n >> x >> y;
  for (int i = 1; i <= (y - x); i++) {
    if ((y - x) % i != 0) continue;
    if ((n - 1) * i < y - x) continue;
    while (x + (n - 1) * i > y && x > i) x -= i;
    for (int j = 1; j <= n; j++) {
      cout << x << " ";
      x += i;
    }
    cout << endl;
    break;
  }
}
