#include <bits/stdc++.h>
using namespace std;
long long t, x, y, n;
int main() {
  cin.tie(NULL);
  ios::sync_with_stdio(false);
  cin >> t;
  while (t--) {
    cin >> n >> x >> y;
    vector<int> ans;
    int number = y - x;
    for (int i = 1; i <= number; i++) {
      if (number % i) continue;
      if (number / i + 1 > n) continue;
      number = i;
      break;
    }
    for (int i = y; i >= 1 && ans.size() < n; i -= number) ans.push_back(i);
    for (int i = y + number; i <= (int)1e9 && ans.size() < n; i += number)
      ans.push_back(i);
    for (auto here : ans) cout << here << " ";
    cout << "\n";
  }
}
