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