#include <bits/stdc++.h>
using namespace std;
int i, i0, n, m, a[50005], pre[50005], M;
set<int> s;
void deb() {
  s.clear();
  int res = 0;
  for (int i = 1; i <= n; i++) s.insert(a[i]);
  for (int i = 1; i <= n; i++) {
    for (int i0 = i + 1; i0 <= n; i0++) {
      res += s.count(a[i] + a[i0]);
    }
  }
  printf("%d %d----\n", res, M);
}
void out() {
  for (int i = 1; i <= n; i++) printf("%d ", a[i]);
  printf("\n");
}
int main() {
  scanf("%d %d", &n, &m);
  M = m;
  if ((int)((n - 1) * (n - 1) / 4.0) < m)
    printf("-1\n");
  else {
    int ff = 0;
    for (int i = 1; i <= n; i++) {
      if (ff)
        a[i] = (int)1e9 - (n + 5) * 5005 + i * 5005;
      else
        a[i] = i;
      if ((i - 1) / 2 > m) {
        ff = 1;
        for (int i0 = 1; i0 < i; i0++) {
          if ((i - i0) / 2 == m) {
            a[i] += i0 - 1;
            break;
          }
        }
      } else
        m -= (i - 1) / 2;
    }
    out();
  }
  return 0;
}

### Prompt

Generate a Cpp solution to the following problem:

Kuroni is the coordinator of the next Mathforces round written by the "Proof by AC" team. All the preparation has been done, and he is discussing with the team about the score distribution for the round.

The round consists of n problems, numbered from 1 to n. The problems are ordered in increasing order of difficulty, no two problems have the same difficulty. A score distribution for the round can be denoted by an array a_1, a_2, ..., a_n, where a_i is the score of i-th problem. 

Kuroni thinks that the score distribution should satisfy the following requirements:

  * The score of each problem should be a positive integer not exceeding 10^9. 
  * A harder problem should grant a strictly higher score than an easier problem. In other words, 1 ≤ a_1 < a_2 < ... < a_n ≤ 10^9. 
  * The balance of the score distribution, defined as the number of triples (i, j, k) such that 1 ≤ i < j < k ≤ n and a_i + a_j = a_k, should be exactly m. 



Help the team find a score distribution that satisfies Kuroni's requirement. In case such a score distribution does not exist, output -1.

Input

The first and single line contains two integers n and m (1 ≤ n ≤ 5000, 0 ≤ m ≤ 10^9) — the number of problems and the required balance.

Output

If there is no solution, print a single integer -1.

Otherwise, print a line containing n integers a_1, a_2, ..., a_n, representing a score distribution that satisfies all the requirements. If there are multiple answers, print any of them.

Examples

Input


5 3


Output


4 5 9 13 18

Input


8 0


Output


10 11 12 13 14 15 16 17


Input


4 10


Output


-1

Note

In the first example, there are 3 triples (i, j, k) that contribute to the balance of the score distribution. 

  * (1, 2, 3) 
  * (1, 3, 4) 
  * (2, 4, 5) 

### Response

```cpp
#include <bits/stdc++.h>
using namespace std;
int i, i0, n, m, a[50005], pre[50005], M;
set<int> s;
void deb() {
  s.clear();
  int res = 0;
  for (int i = 1; i <= n; i++) s.insert(a[i]);
  for (int i = 1; i <= n; i++) {
    for (int i0 = i + 1; i0 <= n; i0++) {
      res += s.count(a[i] + a[i0]);
    }
  }
  printf("%d %d----\n", res, M);
}
void out() {
  for (int i = 1; i <= n; i++) printf("%d ", a[i]);
  printf("\n");
}
int main() {
  scanf("%d %d", &n, &m);
  M = m;
  if ((int)((n - 1) * (n - 1) / 4.0) < m)
    printf("-1\n");
  else {
    int ff = 0;
    for (int i = 1; i <= n; i++) {
      if (ff)
        a[i] = (int)1e9 - (n + 5) * 5005 + i * 5005;
      else
        a[i] = i;
      if ((i - 1) / 2 > m) {
        ff = 1;
        for (int i0 = 1; i0 < i; i0++) {
          if ((i - i0) / 2 == m) {
            a[i] += i0 - 1;
            break;
          }
        }
      } else
        m -= (i - 1) / 2;
    }
    out();
  }
  return 0;
}

```