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 double pi = acos(-1.0);
vector<int> p;
vector<int> a;
void go(int i, int cap, int val) {
  if (i == p.size()) {
    a.push_back(val);
  } else {
    if (val * p[i] <= cap) {
      go(i + 1, cap, val * p[i]);
    }
    go(i + 1, cap, val);
    val *= p[i];
    val *= p[i];
    while (val <= cap) {
      if (val <= cap) go(i + 1, cap, val);
      val *= p[i];
    }
  }
}
bool check(const vector<int>& a) {
  for (int i = 0; i < (int)(p.size()); ++i) {
    int ck = 0;
    for (int j = 0; j < (int)(a.size()); ++j)
      if (a[j] % p[i] == 0) ++ck;
    if (ck * 2 < a.size()) return false;
  }
  return true;
}
bool isprime(int n) {
  for (int i = 2; i * i <= n; ++i)
    if (n % i == 0) return false;
  return true;
}
bool check2(vector<int> a, int k) {
  if (a.size() != k) return false;
  for (int i = 0; i < (int)(a.size()); ++i)
    if (a[i] <= 0 || a[i] > 2 * k * k) return false;
  set<int> p;
  for (int i = 0; i < (int)(a.size()); ++i) {
    int j = a[i];
    for (int k = 2; k * k <= j; ++k)
      if (j % k == 0) {
        do j /= k;
        while (j % k == 0);
        p.insert(k);
      }
    if (j > 1) p.insert(j);
  }
  for (__typeof((p).begin()) it = (p).begin(); it != (p).end(); ++it) {
    int cnt = 0;
    for (int i = 0; i < (int)(a.size()); ++i) cnt += a[i] % (*it) == 0;
    if (cnt > 0 && cnt * 2 < a.size()) return false;
  }
  return true;
}
void solve() {
  int k;
  cin >> k;
  int cntp = 1;
  p.clear();
  do {
    int lastp = (p.empty() ? 1 : p[0]) + 1;
    while (!isprime(lastp)) ++lastp;
    p.insert(p.begin(), lastp);
    a.clear();
    go(0, 2 * k * k, 1);
    if (a.size() >= k) {
      vector<int> b;
      for (int i = 0; i < (int)(k); ++i) b.push_back(a[i]);
      if (check(b)) {
        if (!check2(b, k)) {
          cout << "FAIL " << k << '\n';
          exit(1);
        }
        for (int i = 0; i < (int)(k); ++i) cout << b[i] << " \n"[i + 1 == k];
        break;
      }
    }
  } while (1);
}
int main() {
  solve();
  return 0;
}