#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 sum = (N * N + N) / 2; if (X - sum < 0) { cout << -1 << "\n"; } else { for (int j = 1; j < N; j++) { cout << j << " "; } cout << N + (X - sum) << "\n"; } } }