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;
template <class F, class S>
ostream& operator<<(ostream& o, const pair<F, S>& p) {
  return o << "(" << p.first << ", " << p.second << ")";
}
template <class C>
void O__(ostream& o, const C& c) {
  bool f = 1;
  for (const auto& x : c) {
    if (!f) o << ", ";
    f = 0;
    o << x;
  }
}
template <class T>
ostream& operator<<(ostream& o, const vector<T>& v) {
  o << "[";
  O__(o, v);
  o << "]";
  return o;
}
template <class T, class V>
ostream& operator<<(ostream& o, const map<T, V>& v) {
  o << "{";
  O__(o, v);
  o << "}";
  return o;
}
template <class T>
ostream& operator<<(ostream& o, const set<T>& v) {
  o << "{";
  O__(o, v);
  o << "}";
  return o;
}
const double PI = 3.1415926535897932384626433832795;
const double EPS = 1e-9;
const int INF = std::numeric_limits<int>::max();
const long long LLINF = std::numeric_limits<long long>::max();
vector<int> p;
void go(int cur, int num, int C, set<int, greater<int>>& s) {
  if (cur < 0) return;
  if (cur > C) return;
  if (num == 0) {
    s.insert(cur);
    return;
  }
  int pc = 1;
  for (int i = 0; i < 100; ++i) {
    go(cur * pc, num - 1, C, s);
    pc *= p[num - 1];
    if (cur * pc > C) break;
  }
}
vector<int> solve(int num, int k) {
  set<int, greater<int>> s;
  go(1, num, 2 * k * k, s);
  vector<int> res((s).begin(), (s).end());
  if (int(res.size()) < k) {
    return vector<int>();
  }
  random_shuffle((res).begin(), (res).end());
  vector<int> stat(num);
  for (int i = 0; i < k; ++i) {
    for (int j = 0; j < num; ++j) {
      if (res[i] % p[j] == 0) ++stat[j];
    }
  }
  for (int i = 0; i < num; ++i) {
    if (stat[i] * 2 < k) return vector<int>();
  }
  cerr << "stat"
       << ": " << (stat) << "\n";
  ;
  return res;
}
int main() {
  int n = 2;
  while (p.size() < 20) {
    bool ok = 1;
    for (int i = 2; i < n; ++i) {
      if (n % i == 0) ok = 0;
    }
    if (ok) {
      p.push_back(n);
    }
    ++n;
  }
  cerr << "p"
       << ": " << (p) << "\n";
  ;
  int k;
  cin >> k;
  vector<int> res;
  int num = 0;
  while (1) {
    ++num;
    cerr << "num"
         << ": " << (num) << "\n";
    ;
    res = solve(num, k);
    if (res.size()) {
      assert(int(res.size()) >= k);
      for (int i = 0; i < k; ++i) {
        cout << res[i] << " ";
      }
      cout << "\n";
      return 0;
    }
  }
  return 0;
}