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 T>
inline T bigmod(T p, T e, T M) {
  if (e == 0) return 1;
  if (e % 2 == 0) {
    T t = bigmod(p, e / 2, M);
    return (t * t) % M;
  }
  return (bigmod(p, e - 1, M) * p) % M;
}
template <class T>
inline T gcd(T a, T b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
template <class T>
inline T modinverse(T a, T M) {
  return bigmod(a, M - 2, M);
}
bool is[100009];
vector<long long> prime;
void sieve() {
  long long i, j, k;
  for (long long i = 4; i < 100009; i += 2) is[i] = 1;
  prime.push_back(2);
  for (i = 3; i < 100009; i += 2) {
    if (!is[i]) {
      prime.push_back(i);
      for (j = i + i; j < 100009; j += i) is[j] = 1;
    }
  }
}
int main() {
  long long i, j, k;
  int cases = 1, t;
  long long n;
  sieve();
  int sz = prime.size();
  cin >> n;
  vector<long long> ans;
  long long lim = 2ll * n * n;
  for (i = 0; i < sz && ans.size() < n; i++) {
    ans.push_back(prime[i]);
    for (j = 0; j < ans.size(); j++) {
      if (prime[i] * ans[j] <= lim) ans.push_back(prime[i] * ans[j]);
    }
  }
  for (i = 0, j = ans.size() - 1; i < n; i++, j--) cout << ans[j] << " ";
  return 0;
}