#include <bits/stdc++.h>
using namespace std;
int main() {
  int k, j = 0;
  cin >> k;
  for (int l = 0; l < k; l++) {
    int n, x, y;
    cin >> n >> x >> y;
    {
      int d = 1;
      while (!((y - x) % d == 0 && y <= x + (n - 1) * d)) d++;
      for (int i = y; i > 0 && n != 0; i -= d, n--) cout << i << " ";
      for (int i = y + d; n != 0; i += d, n--) cout << i << " ";
    }
    cout << endl;
  }
}
