#include <bits/stdc++.h>
using namespace std;
const long double PI = 3.141592653589793;
void solve() {
  long long n, x, y;
  cin >> n >> x >> y;
  long long A, D;
  long long ans = INT_MAX;
  int flag = 0;
  for (int a = 1; a <= 50; a++) {
    for (int d = 1; d <= 50; d++) {
      vector<int> arr(3000, 0);
      for (int i = 0; i < n; i++) {
        arr[a + i * d] = 1;
      }
      if (arr[x] == 1 && arr[y] == 1) {
        if (ans > a + (n - 1) * d) {
          A = a;
          D = d;
          ans = a + (n - 1) * d;
          flag = 1;
        }
      }
    }
  }
  if (!flag) {
    A = x;
    D = y - x;
  }
  for (int i = A; i <= A + (n - 1) * D; i += D) cout << i << " ";
  return;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
    cout << endl;
  }
}
