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