#include <bits/stdc++.h>
using lli = long long int;
using ld = long double;
int main() {
  int t;
  std::cin >> t;
  while (t--) {
    int n, x, y;
    std::cin >> n >> x >> y;
    int arr[n];
    int div = -1;
    for (int i = 1; i < 51; i++) {
      if ((y - x) % i == 0 && (y - x) / i < n) {
        div = i;
        break;
      }
    }
    int a = x;
    int b = a;
    while (a > 0 && ((x - a) / div + (y - x) / div) < n) {
      b = a;
      a -= div;
    }
    for (int i = 0; i < n; i++) {
      arr[i] = b + div * i;
    }
    for (int i = 0; i < n; i++) {
      std::cout << arr[i] << ' ';
    }
    std::cout << std::endl;
  }
}
