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 mx = 5000 * 5000;
int isp[mx + 1];
int pl[mx];
int check(int n, int p) {
  vector<int> v;
  for (int i = 0; pl[i] * pl[i] <= n; i++) {
    if (n % pl[i] == 0) {
      if (pl[i] > p) v.push_back(pl[i]);
      while (n % pl[i] == 0) n /= pl[i];
    }
  }
  if (n > p) v.push_back(n);
  return v.empty() ? 0 : v[0];
}
int a[10005];
int main() {
  isp[1] = isp[0] = 1;
  for (int i = 4; i <= mx; i += 2) isp[i] = 1;
  for (int i = 3; i * i <= mx; i += 2) {
    for (int j = i * i; j <= mx; j += (i + i)) isp[j] = 1;
  }
  pl[0] = 2;
  int y = 1;
  for (int i = 3; i <= mx; i += 2)
    if (isp[i] == 0) pl[y++] = i;
  int n;
  cin >> n;
  set<int> S;
  vector<int> r;
  for (int u = 0;; u++) {
    vector<int> v(S.begin(), S.end()), f;
    int cnt = 0;
    for (long long x = pl[u]; x <= 2.0 * n * n; x *= pl[u]) {
      f.push_back(x);
      r.push_back(x);
      cnt++;
      for (int i = 0; i < (int)v.size() && x * v[i] <= 2.0 * n * n; i++) {
        f.push_back(x * v[i]);
        r.push_back(x * v[i]);
        cnt++;
        if (cnt >= (n - n / 2) && cnt + (int)v.size() >= n) {
          break;
        }
      }
      if (cnt >= (n - n / 2) && cnt + (int)v.size() >= n) {
        break;
      }
    }
    if (cnt >= (n - n / 2) && cnt + (int)v.size() >= n) {
      int TT = n;
      for (int i = (int)r.size() - 1; i >= 0 && TT--; i--) cout << r[i] << " ";
      cout << endl;
      return 0;
    }
    S.insert(f.begin(), f.end());
  }
}