#include #include #define chmin(x,y) (x) = min((x),(y)) #define chmax(x,y) (x) = max((x),(y)) #define ld long double using namespace std; using namespace atcoder; using ll = long long; const ll mod = 998244353; using mint = modint998244353; using Graph = vector>; const vector dx = {1,0,-1,0}, dy = {0,1,0,-1}; int main(){ // input int t; cin >> t; while(t--){ ll N,X; cin >> N >> X; if(N == 1) cout << X << endl; else{ vector ans(N); for(int i = 1; i < N; i++){ ans[i-1] = i; X -= i; } ans[N-1] = X; if(ans[N-1] <= ans[N-2]) cout << -1 << endl; else{ for(int i = 0; i < N; i++){ if (i) cout << " "; cout << ans[i]; } cout << endl; } } } }