Problem: We'll call a set of positive integers a beautiful if the following condition fulfills: for any prime p, if <image>, then <image>. In other words, if one number from the set is divisible by prime p, then at least half of numbers from the set is divisible by p.

Your task is to find any beautiful set, where the number of elements is equal to k and each element doesn't exceed 2k2.

Input

The first line contains integer k (10 ≤ k ≤ 5000) that shows how many numbers the required beautiful set should have.

Output

In the first line print k space-separated integers that are a beautiful set. If there are multiple such sets, you are allowed to print any of them.

Examples

Input

10


Output

16 18 24 27 36 48 54 72 108 144 

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int MaxN = 5555;
int a[MaxN * 10];
int ans[MaxN * 10];
int p[] = {2, 3, 5, 7, 11, 13, 17, 19};
char u[MaxN * MaxN * 2];
void gen(int cur, int lim, int n) {
  int i;
  u[cur] = 1;
  for (i = 0; i < n; i++)
    if (cur * p[i] <= lim && u[cur * p[i]] == 0) gen(cur * p[i], lim, n);
}
int main(void) {
  int i, n, k, lim;
  memset(u, 0, sizeof(u));
  lim = 5000 * 5000 * 2;
  gen(1, lim, 8);
  k = 0;
  for (i = 0; i <= lim; i++)
    if (u[i]) a[k++] = i;
  while (scanf("%d", &n) != EOF) {
    int i, j, l, np[8], lim, t;
    memset(np, 0, sizeof(np));
    lim = n * n * 2;
    for (i = 2; i <= 8; i++) {
      l = 0, t = 0;
      for (j = 1; j < k; j++) {
        if (a[j] > lim) break;
        for (l = i; l < 8; l++)
          if (a[j] % p[l] == 0) break;
        if (l == 8) ans[t++] = a[j];
      }
      if (t >= n) {
        break;
      }
    }
    l = i;
    for (i = 0; i < n; i++) {
      printf("%d%c", ans[i + t - n], i == n - 1 ? '\n' : ' ');
    }
  }
  return 0;
}