#include <bits/stdc++.h>
using namespace std;
using namespace std;
int main() {
  long long n, k;
  cin >> n >> k;
  if (n == 1) {
    if (k == 0)
      cout << 1;
    else
      cout << -1;
    return 0;
  }
  long long sts = n >> 1;
  long long sum = k / sts;
  long long rem = k % sts;
  if (k < sts) {
    cout << -1;
    return 0;
  }
  if (k % sts == 0) {
    long long val = sum;
    for (int i = 1; i <= 2 * sts; ++i) {
      cout << i * val << " ";
    }
    if (n & 1) cout << (val * (2 * sts + 1)) << " ";
  } else {
    long long val = (sum + 1);
    for (int i = 1; i <= 2 * rem; ++i) {
      cout << i * val << " ";
    }
    long long nxt = ((2 * rem + 1) * val);
    long long j = 2 * rem + 1;
    while (j * sum < nxt) {
      ++j;
    }
    nxt = j * sum;
    for (int j = 2 * rem + 1; j <= 2 * sts; ++j) {
      cout << nxt << " ";
      nxt += sum;
    }
    if (n & 1) cout << (nxt);
  }
}
