#include <bits/stdc++.h>
using namespace std;
const long long N = 1e9;
bool col2(pair<long long, long long> p1, pair<long long, long long> p2) {
  return p1.second < p2.second;
}
long long power(long long x, long long y) {
  long long temp;
  if (y == 0) return 1;
  temp = power(x, y / 2);
  if (y % 2 == 0)
    return temp * temp;
  else
    return x * temp * temp;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n, x, y;
    cin >> n >> x >> y;
    if (n >= y) {
      for (int i = 1; i < n + 1; i++) cout << i << " ";
      cout << endl;
    } else {
      vector<long long> ans(n);
      long long mnm = 1e9;
      for (int i = 1; i < 51; i++) {
        for (int cr = 1; cr < y - x + 1; cr++) {
          vector<long long> temp(n);
          long long pt = 0;
          long long j = i;
          while (pt < n) {
            temp[pt++] = j;
            j += cr;
          }
          if (binary_search(temp.begin(), temp.end(), x) &&
              binary_search(temp.begin(), temp.end(), y)) {
            if (mnm > *max_element(temp.begin(), temp.end())) {
              ans = temp;
              mnm = *max_element(temp.begin(), temp.end());
            }
          }
        }
      }
      for (auto i : ans) cout << i << " ";
      cout << endl;
    }
  }
}
