#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n, x, y;
  scanf("%d", &t);
  while (t--) {
    scanf("%d%d%d", &n, &x, &y);
    int z = y - x;
    int d = y - x;
    for (int i = n - 1; i >= 1; --i) {
      if (z % i == 0) {
        d = z / i;
        break;
      }
    }
    int k = z / d;
    int ct = n - 1 - k;
    int xd = (x - 1) / d;
    xd = min(xd, ct);
    int be = x - xd * d;
    for (int i = 0; i < n; ++i) {
      printf("%d%c", be, i == n - 1 ? '\n' : ' ');
      be += d;
    }
  }
  return 0;
}
