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;
vector<int> primes;
void make_prime(int n) {
  int i, j;
  bool f;
  primes.push_back(2);
  primes.push_back(3);
  primes.push_back(5);
  primes.push_back(7);
  primes.push_back(11);
  return;
}
int main() {
  int k, kk2;
  int i, j, l, n, m;
  scanf("%d", &k);
  kk2 = 2 * k * k;
  vector<int> ret(1);
  ret[0] = 1;
  make_prime(kk2 + 100);
  for (i = 0; i < primes.size(); i++) {
    l = ret.size();
    m = 0;
    for (j = 0; j < l; j++) {
      n = ret[j] * primes[i];
      while (n <= kk2) {
        ret.push_back(n);
        n *= (primes[i]);
        ++m;
        if (m >= k) break;
      }
    }
    if (((int)(ret.size())) >= k + 1) break;
  }
  for (i = ret.size() - k; i < ret.size() - 1; i++) {
    printf("%d ", ret[i]);
  }
  printf("%d\n", ret[ret.size() - 1]);
}