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