#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const long long int INF = 1e18 + 2;
bool compareBysecond(pair<long long int, long long int> a,
                     pair<long long int, long long int> b) {
  return a.second > b.second;
}
int log(long long int x) {
  int cnt = 0;
  while (x > 0) {
    cnt++;
    x = x >> 1;
  }
  return cnt;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int k = n;
    while (((y - x) % (k - 1)) != 0) k--;
    int d = (y - x) / (k - 1);
    vector<int> ans;
    for (int i = 0; x + i * d <= y; ++i) {
      ans.push_back(x + i * d);
    }
    if (ans.size() != n) {
      int temp = x - d;
      while (temp > 0 && ans.size() != n) {
        ans.push_back(temp);
        temp -= d;
      }
    }
    if (ans.size() != n) {
      int temp = y + d;
      while (ans.size() != n) {
        ans.push_back(temp);
        temp += d;
      }
    }
    for (auto it : ans) cout << it << " ";
    cout << '\n';
    ;
  }
  return 0;
}
