#include <bits/stdc++.h>
using namespace std;
using namespace std;
const long long int mod = 1e9 + 7;
const long long int MAX = LLONG_MAX;
const long long int MIN = LLONG_MIN;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int t;
  cin >> t;
  while (t--) {
    long long int n, x, y;
    cin >> n >> x >> y;
    long long int p = n - 1;
    long long int c = 0;
    vector<long long int> v;
    {
      {
        while ((y - x) % p != 0) {
          p--;
        }
      }
      p = (y - x) / p;
      for (long long int i = x; i <= y; i = i + p) {
        cout << i << " ";
        c++;
      }
      if (c != n) {
        while (x - p > 0) {
          x = x - p;
          cout << x << " ";
          c++;
          if (c == n) break;
        }
      }
      if (c != n) {
        while (c != n) {
          y = y + p;
          cout << y << " ";
          c++;
        }
      }
    }
    cout << "\n";
  }
  return 0;
}
