#include <bits/stdc++.h>
using namespace std;
int n, x, y;
int t;
int a[100];
int main() {
  ios::sync_with_stdio(false);
  cin >> t;
  while (t--) {
    cin >> n >> x >> y;
    int k = y - x;
    if (n == 2) {
      cout << x << ' ' << y << '\n';
      continue;
    }
    for (int i = 1; i <= k; i++) {
      if (k % i != 0) continue;
      memset(a, 0, sizeof(a));
      bool bo = 0;
      int now = y, j = 1;
      for (; j <= n && now > 0; j++) {
        a[j] = now;
        now -= i;
        if (a[j] == x) bo = 1;
      }
      now = y + i;
      for (; j <= n; j++) a[j] = now, now += i;
      if (bo) {
        for (int j = 1; j <= n; j++) cout << a[j] << ' ';
        cout << endl;
        break;
      }
    }
  }
  return 0;
}
