#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int dif = y - x;
    for (int i = 1; i <= dif; i++) {
      if (dif % i != 0 || dif / i >= n) continue;
      int counti = 0;
      for (int j = x; j <= y; j += i) {
        cout << j << " ";
        counti++;
      }
      for (int j = x - i; j > 0 && counti < n; j -= i) {
        cout << j << " ";
        counti++;
      }
      for (int j = y + i; counti < n; j += i) {
        cout << j << " ";
        counti++;
      }
      cout << endl;
      break;
    }
  }
}
