#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int t = 0, i = 0, j = 0, n = 0, m = 0, k = 0, num = 0, temp = 0, ans = 0;
  cin >> n >> k;
  string str;
  vector<int> v;
  int arr[100002] = {0};
  if (k < n / 2) {
    cout << "-1";
    return 0;
  }
  if (n == 1) {
    if (k == 0)
      cout << "1";
    else
      cout << "-1";
    return 0;
  }
  num = k - n / 2 + 1;
  cout << num << " " << 2 * num << " ";
  for (i = 0; i < n - 2; ++i) {
    cout << 2 * num + 1 + i << " ";
  }
  return 0;
}
