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;
int po(int n, int i) {
  int k = 1;
  while (i > 0) k *= n, i--;
  return k;
}
vector<pair<int, int> > a;
int b[6000] = {0};
int s[5010] = {0, 2, 3};
int si[5010] = {0};
int ci[5010] = {0};
bool cci[5010] = {0};
void primepre() {
  int n, i, isp, p;
  for (n = 5, p = 2; p < 5000; n += 2) {
    for (i = 2, isp = 1; s[i] * s[i] <= n; i++)
      if (n % s[i] == 0) {
        isp = 0;
        break;
      }
    if (isp) s[++p] = n;
  }
}
int main() {
  int res = 0;
  int done = 0;
  bool stop = 0;
  int until;
  int i, j, k;
  int nowmax = 1;
  bool nowmaxup = 0;
  int n;
  primepre();
  scanf("%d", &n);
  while (1) {
    si[1]++;
    for (k = 1, res = 1; k <= nowmax; k++) res *= po(s[k], si[k]);
    j = 1;
    while (res > 2 * n * n) {
      si[j] = 0, si[j + 1]++, j++;
      if (nowmax < j) nowmax = j, nowmaxup = 1;
      for (k = 1, res = 1; k <= nowmax; k++) res *= po(s[k], si[k]);
    }
    if (cci[j] == 0 && nowmaxup) {
      ci[j] = done, cci[j] = 1;
      if (ci[j] - ci[j - 1] > n) break;
      nowmaxup = 0;
    }
    for (k = 1, i = 0; k <= nowmax; k++)
      if (si[k]) i++;
    a.push_back(make_pair(i, res));
    done++;
  }
  sort(a.begin(), a.end());
  reverse(a.begin(), a.end());
  for (i = 0; i < n; i++) printf("%d ", a[i].second);
  return 0;
}