#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, m;
  cin >> n >> k;
  if (n == 1 && k == 0)
    cout << "1" << endl;
  else if (n == 1 || n / 2 > k)
    cout << "-1" << endl;
  else {
    m = (k - n / 2) + 1;
    cout << m << " " << m * 2 << " ";
    m *= 2;
    for (int i = 0; i < n - 2; i++) {
      ++m;
      cout << m << " ";
    }
    cout << endl;
  }
  return 0;
}
