Problem: It's holiday. Mashmokh and his boss, Bimokh, are playing a game invented by Mashmokh. 

In this game Mashmokh writes sequence of n distinct integers on the board. Then Bimokh makes several (possibly zero) moves. On the first move he removes the first and the second integer from from the board, on the second move he removes the first and the second integer of the remaining sequence from the board, and so on. Bimokh stops when the board contains less than two numbers. When Bimokh removes numbers x and y from the board, he gets gcd(x, y) points. At the beginning of the game Bimokh has zero points.

Mashmokh wants to win in the game. For this reason he wants his boss to get exactly k points in total. But the guy doesn't know how choose the initial sequence in the right way. 

Please, help him. Find n distinct integers a1, a2, ..., an such that his boss will score exactly k points. Also Mashmokh can't memorize too huge numbers. Therefore each of these integers must be at most 109.

Input

The first line of input contains two space-separated integers n, k (1 ≤ n ≤ 105; 0 ≤ k ≤ 108).

Output

If such sequence doesn't exist output -1 otherwise output n distinct space-separated integers a1, a2, ..., an (1 ≤ ai ≤ 109).

Examples

Input

5 2


Output

1 2 3 4 5


Input

5 3

Output

2 4 3 7 1

Input

7 2


Output

-1

Note

gcd(x, y) is greatest common divisor of x and y.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  vector<int> V;
  vector<bool> Pr(10000001, true);
  int c = 0;
  for (int i = 2; i * i <= 10000001; i++) {
    if (Pr[i] == true) {
      for (int j = i * i; j <= 10000001; j = j + i) {
        Pr[j] = false;
      }
    }
  }
  for (int i = 2; i <= 10000001; i++) {
    if (Pr[i] == true) V.push_back(i);
  }
  int n, k;
  cin >> n >> k;
  int no = n / 2;
  k = k - n / 2;
  if (n < 2 && k > 0) {
    cout << "-1" << endl;
  } else if (n < 2 && k == 0) {
    cout << "1" << endl;
  } else if (k < 0) {
    cout << "-1" << endl;
  } else if (k == 0) {
    int j = 0;
    for (int i = 1; i <= (n / 2); i++) {
      if (Pr[V[j]] != false && Pr[V[j + 1]] != false) {
        cout << V[j] << " " << V[j + 1] << " ";
      } else
        i--;
      j = j + 2;
    }
    if (n % 2 == 1) {
      if (Pr[V[j + 1]] == false) {
        cout << V[j + 2] << endl;
      } else
        cout << V[j + 1] << endl;
    }
  } else {
    cout << (k + 1) << " " << 2 * (k + 1) << " ";
    if (k + 1 <= 10000001) Pr[k + 1] = false;
    if (2 * (k + 1) <= 10000001) Pr[2 * (k + 1)] = false;
    int j = 0;
    for (int i = 1; i <= (n / 2) - 1; i++) {
      if (Pr[V[j]] != false && Pr[V[j + 1]] != false) {
        cout << V[j] << " " << V[j + 1] << " ";
      } else
        i--;
      j = j + 2;
    }
    if (n % 2 == 1) {
      if (Pr[V[j + 1]] == false) {
        cout << V[j + 2] << endl;
      } else
        cout << V[j + 1] << endl;
    }
  }
}