#include <bits/stdc++.h>
using namespace std;
const int N = 1e5, INF = 1e9;
int a[N], n, x, y, res = 0;
int main() {
  int t;
  ios::sync_with_stdio(false);
  cin >> t;
  while (t--) {
    cin >> n >> x >> y;
    int res = INF;
    int rs = 0, rc = 0;
    for (int i = 1; i <= x; i++) {
      for (int j = 1; j <= y - x + 1; j++) {
        int c = i;
        bool flag = true;
        bool fa = false, fb = false;
        for (int k = 1; k <= n; k++) {
          if (c == x) {
            fa = true;
          }
          if (c == y) {
            fb = true;
          }
          if (c > x && fa == false) break;
          if (c > y && fb == false) break;
          c += j;
        }
        if (fa && fb) {
          if (c < res) {
            res = c;
            rs = i;
            rc = j;
          }
        }
      }
    }
    int cnt = 1;
    for (int i = rs; cnt <= n; cnt++, i += rc) {
      cout << i << " ";
    }
    cout << endl;
  }
  return 0;
}
