#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int d, val;
    for (int i = n - 1; i >= 1; i--) {
      if ((y - x) % i == 0) {
        d = (y - x) / i;
        val = i;
        break;
      }
    }
    vector<int> ans;
    for (int i = 0; i <= val; i++) {
      ans.push_back(x + (d * i));
    }
    n = n - (val + 1);
    while (n > 0 && x > d) {
      ans.push_back(x - d);
      n--;
      x = x - d;
    }
    if (n > 0) {
      while (n > 0) {
        ans.push_back(y + d);
        n--;
        y = y + d;
      }
    }
    for (auto x : ans) {
      cout << x << " ";
    }
    cout << endl;
  }
}
