#include using namespace std; using ll = long long; using ld = long double; template using vc = vector; template using vvc = vc>; void solve(); int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(20); ll t = 1; cin >> t; for (int i = 1; i <= t; i++) solve(); return 0; } void solve() { ll n, x; cin >> n >> x; if (n * (n + 1) / 2 > x) { cout << -1 << endl; return; } for (int i = 1; i < n; i++) { cout << i << " "; x -= i; } cout << x << endl; }