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