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