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 INF = 1e9 + 10;
const long long int INFLL = 1e18 + 10;
const long double EPS = 1e-8;
const long double EPSLD = 1e-14;
const long long int MOD = 1e9 + 7;
template <class T>
T &chmin(T &a, const T &b) {
  return a = min(a, b);
}
template <class T>
T &chmax(T &a, const T &b) {
  return a = max(a, b);
}
class Primes : public vector<int> {
 public:
  Primes(int max_n) {
    vector<bool> isp(max_n, true);
    for (int i = (2); i < (int)(max_n); i++) {
      if (isp[i]) {
        emplace_back(i);
        for (int j = i * 2; j < max_n; j += i) isp[j] = false;
      }
    }
  }
};
int k;
vector<int> v;
Primes ps(5010);
int s = 0;
int cnt[5010];
bool test() {
  for (int i = (0); i < (int)(s); i++) cnt[i] = 0;
  for (int i = (0); i < (int)(k); i++)
    for (int j = (0); j < (int)(s); j++)
      if (v[i] % ps[j] == 0) cnt[j]++;
  for (int j = (0); j < (int)(s); j++)
    if (cnt[j] * 2 < k) return false;
  return true;
}
int main() {
  scanf("%d", &k);
  int limit = k * k * 2;
  v.emplace_back(1);
  for (auto &w : ps) {
    int cur_size = v.size();
    if (cur_size >= k) break;
    for (int i = (0); i < (int)(cur_size); i++) {
      int a = w;
      while (a * v[i] <= limit) {
        v.emplace_back(a * v[i]);
        a *= w;
      }
    }
  }
  reverse((v).begin(), (v).end());
  for (int i = (0); i < (int)(k); i++)
    printf("%d%c", v[i], i == k - 1 ? '\n' : ' ');
  return 0;
}