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