#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int temp = y - x;
    int r = n - 2;
    int store = temp;
    int ans = y;
    for (int i = 1; i <= temp; i++) {
      if (temp % i == 0 && (temp / i) - 1 <= r) {
        store = i;
        break;
      }
    }
    r = r - temp / store + 1;
    if (r > 0) {
      r = r - (x - 1) / store;
    }
    if (r > 0) {
      ans = y + store * r;
    }
    while (n--) {
      cout << ans << " ";
      ans -= store;
    }
    cout << endl;
  }
  return 0;
}
