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;
bool isp(int n) {
  if (n <= 1) return 0;
  for (int i = 2; i * i <= n; i++)
    if (n % i == 0) return 0;
  return 1;
}
bool shik(int n, vector<int> ps) {
  vector<int> sol;
  queue<int> q;
  set<int> vis;
  for (__typeof((ps).begin()) it = (ps).begin(); it != (ps).end(); it++)
    q.push(*it);
  while (((int)(sol).size()) <= n && !q.empty()) {
    int v = q.front();
    q.pop();
    sol.push_back(v);
    for (__typeof((ps).begin()) it = (ps).begin(); it != (ps).end(); it++) {
      int nv = *it * v;
      if (!vis.count(nv) && nv <= 2 * n * n) {
        vis.insert(nv);
        q.push(nv);
      }
    }
  }
  if (((int)(sol).size()) < n) return 0;
  sort((sol).begin(), (sol).end());
  for (__typeof((ps).begin()) it = (ps).begin(); it != (ps).end(); it++) {
    int cnt = 0;
    for (__typeof((sol).begin()) jt = (sol).begin(); jt != (sol).end(); jt++)
      if (*jt % *it == 0) cnt++;
    if (cnt < (n + 1) / 2) return 0;
  }
  for (int i = 0; i < (int)(n); i++)
    printf("%d%c", sol[i], i + 1 == n ? '\n' : ' ');
  return 1;
}
int main() {
  int n;
  while (~scanf("%d", &(n))) {
    vector<int> ps = {2};
    while (!shik(n, ps)) {
      int p = ps.back() + 1;
      while (!isp(p)) p++;
      ps.push_back(p);
    }
  }
  return 0;
}