#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int i, j, m, n, t, x, y, z, bal;
  cin >> t;
  while (t--) {
    cin >> n >> x >> y;
    z = y - x;
    for (i = 1; i <= z; i++) {
      if (z % i == 0) {
        m = n - 1;
        bal = y;
        vector<int> v;
        while (bal - i > 0 && m) {
          m--;
          bal -= i;
          v.emplace_back(bal);
        }
        reverse(v.begin(), v.end());
        v.emplace_back(y);
        bal = y;
        while (m--) v.emplace_back(bal + i), bal += i;
        if (v[0] <= x) {
          for (int dhon : v) cout << dhon << ' ';
          cout << '\n';
          break;
        }
      }
    }
  }
  return 0;
}
