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 = ~0U >> 1;
const long long INF = ~0ULL >> 1;
template <class T>
inline void read(T &n) {
  char c;
  for (c = getchar(); !(c >= '0' && c <= '9'); c = getchar())
    ;
  n = c - '0';
  for (c = getchar(); c >= '0' && c <= '9'; c = getchar()) n = n * 10 + c - '0';
}
int Pow(int base, int n, int mo) {
  if (n == 0) return 1;
  if (n == 1) return base % mo;
  int tmp = Pow(base, n >> 1, mo);
  tmp = (long long)tmp * tmp % mo;
  if (n & 1) tmp = (long long)tmp * base % mo;
  return tmp;
}
int K, n;
vector<int> ans, E[6000];
int is_prime(int x) {
  for (int i = 2; i * i <= x; ++i)
    if (x % i == 0) return 0;
  return 1;
}
int main() {
  scanf("%d", &K);
  int bot = (K + 1) / 2;
  ans.push_back(1);
  for (int p = 2; ans.size() < K; p++) {
    while (!is_prime(p)) p++;
    int n = ans.size();
    int del = 0;
    while (n + bot - del > K) del++;
    for (int i = 0; i < n; ++i) {
      for (int j = ans[i] * p; j <= 2 * K * K; j *= p)
        if (ans.size() - del + 1 <= K) ans.push_back(j);
    }
    for (int j = (1); j <= (del); ++j) ans.erase(ans.begin());
  }
  for (int i = (0); i < (ans.size()); ++i) printf("%d ", ans[i]);
  puts("");
  return 0;
}