#include <bits/stdc++.h>
using namespace std;
struct compare {
  bool operator()(const pair<int, int>& a, const pair<int, int>& b) {
    return true;
  }
};
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    vector<int> ans;
    for (int i = 1; i <= 50; i++) {
      ans.clear();
      if ((x - y) % i != 0) continue;
      for (int j = x; j <= y; j += i) ans.push_back(j);
      if (ans.back() != y || ans.size() > n) continue;
      int j = x - i;
      while (ans.size() < n && j >= 1) {
        ans.push_back(j);
        j -= i;
      }
      j = y + i;
      while (ans.size() < n) {
        ans.push_back(j);
        j += i;
      }
      break;
    }
    for (auto ai : ans) cout << ai << " ";
    cout << "\n";
  }
  return 0;
}
