#include <bits/stdc++.h>
using namespace std;
int tc, n, x, y;
vector<int> ans;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.precision(10);
  cout << fixed;
  cin >> tc;
  while (tc--) {
    cin >> n >> x >> y;
    int tn = n;
    int temp;
    while ((y - x) % (n - 1) != 0) {
      --n;
    }
    temp = (y - x) / (n - 1);
    int cnt = 0, now = x;
    ans.clear();
    while (cnt != tn && now <= y) {
      ans.emplace_back(now);
      now += temp;
      ++cnt;
    }
    now = x - temp;
    while (cnt != tn && now > 0) {
      ans.emplace_back(now);
      now -= temp;
      ++cnt;
    }
    now = y + temp;
    while (cnt != tn) {
      ans.emplace_back(now);
      now += temp;
      ++cnt;
    }
    for (int x : ans) cout << x << ' ';
    cout << '\n';
  }
  return 0;
}
