#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
ifstream fin("input.txt");
ofstream fout("output.txt");
long long modulo_exp(long long base, long long exp) {
  long long res = 1;
  while (exp > 0) {
    if (exp % 2 == 1) res = (res * base) % 1000000007;
    base = (base * base) % 1000000007;
    exp /= 2;
  }
  return res % 1000000007;
}
int palindromecheck(string s) {
  int n = s.size();
  for (int i = 0; i < n / 2; ++i) {
    if (s[i] != s[n - i - 1]) {
      return 0;
    }
  }
  return 1;
}
int gcd(int a, int b) {
  while (a && b) a > b ? a %= b : b %= a;
  return a + b;
}
int val(char c) {
  if (c >= '0' && c <= '9')
    return (int)c - '0';
  else
    return (int)c - 'A' + 10;
}
long long pows(int a, int b) {
  long long res = 1;
  for (int i = 0; i < b; ++i) {
    res *= a;
  }
  return res;
}
long long logx(long long base, long long num) {
  int cnt = 0;
  while (num != 1) {
    num /= base;
    ++cnt;
  }
  return cnt;
}
long long divisibles(long long a, long long b, long long m) {
  if (a % m == 0)
    return (b / m) - (a / m) + 1;
  else
    return (b / m) - (a / m);
}
string bitstring(int n, int size) {
  string s;
  while (n) {
    s += (n % 2) + '0';
    n /= 2;
  }
  while (s.size() < size) {
    s += '0';
  }
  reverse(s.begin(), s.end());
  return s;
}
vector<int> vis(200001, 0);
vector<int> adj[200001];
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    long long n, x, y;
    cin >> n >> x >> y;
    long long diff = y - x;
    set<int> setx;
    for (int i = 1; i <= sqrtl(diff); ++i) {
      if (diff % i == 0) {
        setx.insert(i);
        setx.insert(diff / i);
      }
    }
    for (auto z : setx) {
      long long cd = z;
      int flag = 0;
      for (int i = 1; i <= 50; ++i) {
        vector<int> vec;
        int size = n;
        int mark1 = 0, mark2 = 0;
        if (x - i < 0) break;
        if ((x - i) % cd == 0) {
          int tempi = i;
          while (size--) {
            vec.push_back(tempi);
            if (tempi == x) mark1 = 1;
            if (tempi == y) mark2 = 1;
            tempi += cd;
          }
          if (mark1 == 1 && mark2 == 1) {
            for (auto x : vec) cout << x << " ";
            cout << "\n";
            flag = 1;
            break;
          }
        }
      }
      if (flag == 1) break;
    }
  }
}
