#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
void fastio() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
void solve() {
  int n, x, y;
  cin >> n >> x >> y;
  int diff = y - x + 1;
  if (diff == n) {
    for (int i = x; i <= y; ++i) {
      cout << i << ' ';
    }
    cout << '\n';
    return;
  }
  int z = diff / n;
  if (diff % n) ++z;
  --diff;
  for (int i = z;; i++) {
    if (diff % i == 0) {
      z = i;
      break;
    }
  }
  int cnt = 0;
  for (int i = y; i >= x; i -= z) {
    cout << i << ' ';
    --n;
  }
  if (n) {
    for (int i = x - z; i >= 1; i -= z) {
      cout << i << ' ';
      --n;
      if (n == 0) break;
    }
  }
  if (n) {
    for (int i = y + z;; i += z) {
      cout << i << ' ';
      --n;
      if (n == 0) break;
    }
  }
  cout << '\n';
}
int main() {
  fastio();
  int t = 1;
  cin >> t;
  while (t--) solve();
  return 0;
}
