#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, x, y, diff;
    cin >> n >> x >> y;
    if (n == 2) {
      cout << x << " " << y << "\n";
      continue;
    }
    diff = y - x;
    vector<int> ans;
    for (int i = 1; i <= diff; i++) {
      if (diff % i != 0) continue;
      if ((diff / i + 1) > n) continue;
      vector<int> a;
      int fx = 0, cur = y, req = n;
      while (cur >= 1 && req > 0) {
        a.push_back(cur);
        if (cur == x) fx = 1;
        cur = cur - i;
        req--;
      }
      cur = y;
      while (req > 0) {
        cur = cur + i;
        a.push_back(cur);
        req--;
      }
      sort(a.begin(), a.end());
      if (req == 0 && fx == 1) {
        ans = a;
        break;
      }
    }
    for (int i = 0; i < ans.size(); i++) {
      cout << ans[i] << " ";
    }
    cout << "\n";
  }
  return 0;
}
