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 MAX_BUF_SIZE = 16384;
char BUFOR[MAX_BUF_SIZE];
int BUF_SIZE, BUF_POS;
char ZZZ;
int _MINUS;
const int MXN = 2000010;
const int C = 262144;
const int INF = 1000000001;
int pi[20] = {0, 2, 3, 5, 7, 11, 13, 17, 19, 23};
int n;
void test() {
  scanf("%d", &n);
  int N = 2 * n * n;
  bool dec = 0;
  vector<int> res;
  for (int ILE = (1); ILE <= (9); ILE++) {
    set<int> gen;
    for (int j = (1); j <= (ILE); j++) gen.insert(pi[j]);
    vector<int> vec;
    while ((int)(gen).size() > 0) {
      int p = *gen.begin();
      vec.push_back(p);
      gen.erase(gen.begin());
      for (int j = (1); j <= (ILE); j++)
        if (pi[j] * p <= N) gen.insert(pi[j] * p);
    }
    if ((int)(vec).size() >= n) {
      for (int i = ((int)(vec).size() - 1); i >= (0); i--) {
        res.push_back(vec[i]);
        if ((int)(res).size() == n) break;
      }
      dec = 1;
      break;
    }
  }
  if (dec) {
    sort((res).begin(), (res).end());
    for (__typeof((res).begin()) it = ((res).begin()); it != (res).end(); ++it)
      printf("%d ", *it);
    printf("\n");
  } else
    printf("PIEPRZU\n");
}
int main() {
  int te = 1;
  while (te--) test();
  return 0;
}