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