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;
long long rdtsc() {
  long long tmp;
  asm("rdtsc" : "=A"(tmp));
  return tmp;
}
inline int myrand() { return abs((rand() << 15) ^ rand()); }
inline int rnd(int x) { return myrand() % x; }
const int countPrimes = 10;
const int primes[countPrimes] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29};
const int maxt = (int)1e7;
pair<int, int> ps[maxt];
int countPs;
int n;
void genAll(int iter, int maxIter, int mask, int value) {
  if (iter == maxIter) {
    assert(countPs < maxt);
    ps[countPs++] = make_pair(value, mask);
    return;
  }
  genAll(iter + 1, maxIter, mask, value);
  for (int times = 1; (value *= primes[iter]) <= 2 * n * n; ++times) {
    genAll(iter + 1, maxIter, mask ^ (1 << iter), value);
  }
}
const int maxn = 5000;
bool solve() {
  if (scanf("%d", &n) < 1) return 0;
  for (int toUse = 0; toUse <= countPrimes; ++toUse) {
    countPs = 0;
    genAll(0, toUse, 0, 1);
    if (countPs < n) continue;
    for (int iter = 0; iter < 10; ++iter) {
      random_shuffle(ps, ps + countPs, rnd);
      bool fail = 0;
      for (int color = 0; color < toUse; ++color) {
        int cnt = 0;
        for (int i = 0; i < n; ++i) cnt += ((ps[i].second >> color) & 1);
        if (cnt * 2 < n) {
          fail = 1;
          break;
        }
      }
      if (!fail) {
        for (int i = 0; i < n; ++i)
          printf("%d%c", ps[i].first, " \n"[i == n - 1]);
        return 1;
      }
    }
  }
  assert(0);
  return 1;
}
int main() {
  srand(rdtsc());
  while (1) {
    if (!solve()) break;
  }
  return 0;
}