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;
int n, pr[16] = {2, 3, 5, 7, 11, 13, 17}, cPr = 4;
bool ok[50000042];
vector<int> ans, a2;
unordered_map<int, int> c;
int okDok() {
  c.clear();
  sort(ans.begin(), ans.end());
  for (int i = 0; i < n; i++) {
    c[ans[i]]++;
  }
  int ret = 0;
  for (int i = 1; i < n; i++) {
    if (c[ans[i]] > 1) {
      ret++;
      for (int j = 0; j < a2.size(); j++) {
        if (ans[i] * a2[j] > n * n * 2) {
          return -1;
        }
        if (c[ans[i] * a2[j]] == 0) {
          c[ans[i]]--;
          ans[i] *= a2[j];
          c[ans[i]]++;
          break;
        }
      }
    }
  }
  return ret;
}
bool solve() {
  ans.clear();
  for (int i = 1; ans.size() < n; i++) {
    ans.push_back(1);
  }
  int n2 = (n + 1) / 2;
  for (int i = 0; i < cPr; i++) {
    int cc = 0;
    for (int j = 0; j < n; j++) {
      if (ans[j] % pr[i] == 0) {
        cc++;
      }
    }
    for (; cc < n2;) {
      int ind = rand() % n;
      if (ans[ind] % pr[i] && ans[ind] * pr[i] <= n * n * 2) {
        ans[ind] *= pr[i];
        cc++;
      }
    }
  }
  if (okDok() == -1) {
    return 0;
  }
  return 1;
}
int main() {
  srand(time(NULL));
  cin >> n;
  if (n > 1000) {
    cPr = 6;
  }
  ok[1] = 1;
  for (int i = 1; i < n * n && i < 4000 * 4000; i++) {
    for (int j = 0; j < cPr; j++) {
      if (i % pr[j] == 0 && ok[i / pr[j]]) {
        ok[i] = 1;
      }
    }
    if (ok[i]) {
      a2.push_back(i);
    }
  }
  while (!solve()) {
  }
  for (int i = 0; i < n; i++) {
    cout << ans[i] << " ";
  }
  cout << "\n";
  return 0;
}