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 = 200005;
const double eps = 1e-8;
const double DINF = 1e100;
const int INF = 1000000006;
const long long LINF = 1000000000000000005ll;
int K;
int pr[] = {2, 3, 5, 7, 11, 13};
long long pow2[40], pow3[40], pow5[40], pow7[40];
int X;
vector<int> res[10000];
void dfs(int now, int s, int st, int m) {
  res[s].push_back(now);
  for (int i = st; i < m; ++i) {
    if (now * pr[i] > X) break;
    dfs(now * pr[i], s | (1 << i), i, m);
  }
}
int main() {
  scanf("%d", &K);
  X = 2 * K * K;
  vector<int> ans;
  for (int m = 2; m < 6; ++m) {
    for (int i = 0; i < 1 << m; ++i) res[i].clear();
    ans.clear();
    dfs(1, 0, 0, m);
    int lim = K / 2;
    int cnt[7] = {0};
    int num = 0;
    for (int s = (1 << m) - 1; s > 0; --s) {
      for (int i = 0; i < res[s].size(); ++i) {
        ans.push_back(res[s][i]);
        ++num;
        if (num >= K) break;
        for (int t = 0; t < m; ++t)
          if (s >> t & 1) ++cnt[t];
      }
      if (num >= K) break;
    }
    if (ans.size() < K) continue;
    sort(ans.begin(), ans.end());
    for (int i = 0; i < (int)ans.size(); ++i) printf("%d ", ans[i]);
    for (int i = 0; i < m; ++i) {
      int cnt = 0;
      for (int j = 0; j < (int)ans.size(); ++j)
        if (ans[j] % pr[i] == 0) ++cnt;
      if (cnt < lim) {
        puts("FUCK");
        while (1)
          ;
        return 0;
      }
    }
    puts("");
    break;
  }
  return 0;
}