#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int d = INT_MAX, k = y - x;
    for (int i = 1; i <= k; i++) {
      if (k % i) continue;
      if (k / i + 1 > n) continue;
      d = min(i, d);
    }
    vector<int> ans = {x, y};
    for (int i = x + d; (int)(ans).size() < n && i < y; i += d)
      ans.push_back(i);
    for (int i = x - d; (int)(ans).size() < n && i > 0; i -= d)
      ans.push_back(i);
    for (int i = y + d; (int)(ans).size() < n; i += d) ans.push_back(i);
    for (auto &i : ans) cout << i << ' ';
    cout << '\n';
  }
  return 0;
}
