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