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 long long mod = 1e9 + 7;
const long long INF = 4e18;
const int inf = 2e9;
const int N = 2 * 5000 * 5000 + 10;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int lcm(int a, int b) { return a / gcd(a, b) * b; }
bitset<N> ans;
bool is[205];
vector<int> prime;
int main(void) {
  int i, j, k;
  scanf("%d", &k);
  int limit = 2 * k * k;
  memset(is, 1, sizeof(is));
  for (i = 2; i < 200; i++) {
    if (is[i]) {
      prime.push_back(i);
      for (j = i * i; j < 200; j += i) is[j] = 0;
    }
  }
  ans[1] = 1;
  int tot = 0;
  for (i = 0; i < prime.size(); ++i) {
    int now = prime[i];
    for (j = 1; j <= limit; ++j) {
      if (now * j > limit) break;
      if (ans[j]) {
        ans[now * j] = 1;
        tot++;
      }
    }
    if (tot >= k) break;
  }
  tot = 0;
  for (i = limit; i >= 2; --i) {
    if (tot == k) break;
    if (ans[i]) {
      printf("%d ", i);
      tot++;
    }
  }
  printf("\n");
  return 0;
}