#include using namespace std; int main() { int t; cin >> t; while (t--) { int N, X; cin >> N >> X; long mi = N * (N + 1) / 2; if (X < mi) { cout << -1 << endl; } else { for (int i = 0; i < N - 1; i++) { cout << i + 1 << " "; } cout << X - (mi - N) << endl; } } }