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) {
  long long ret = 1;
  for (; e > 0; e >>= 1) {
    if (e & 1) ret = (ret * p) % M;
    p = (p * p) % M;
  }
  return (T)ret;
}
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 lcm(T a, T b) {
  return (a / gcd(a, b)) * b;
}
template <class T>
inline T modinverse(T a, T M) {
  return bigmod(a, M - 2, M);
}
template <class T>
inline T bpow(T p, T e) {
  long long ret = 1;
  for (; e > 0; e >>= 1) {
    if (e & 1) ret = (ret * p);
    p = (p * p);
  }
  return (T)ret;
}
template <class T>
inline T gethash(T h[], T power[], int l, int r) {
  if (r < l) return (T)0;
  return h[l] - h[r + 1] * power[r - l + 1];
}
struct data {
  data() {}
  bool friend operator<(data a, data b) { return 0; }
};
int n, m, k;
long long N, M, K;
int mx;
vector<int> bit;
set<int> ans;
bool vis[50000002];
int cont = 0;
vector<int> baal;
void rec(int i, int sum) {
  if (i > 5) return;
  if (sum != 1) ans.insert(sum);
  int z = sum * bit[i];
  rec(i + 1, sum);
  rec(i + 1, z);
}
void bfs(int x, vector<int> vc) {
  queue<int> q;
  q.push(x);
  vis[x] = 1;
  while (!q.empty()) {
    int y = q.front();
    q.pop();
    baal.push_back(y);
    for (int i = 0; i < vc.size(); i++) {
      int z = vc[i] * y;
      if (z <= mx && vis[z] == 0) {
        q.push(z);
        vis[z] = 1;
      }
    }
  }
}
int VIS[13];
int main() {
  int t, tc = 1;
  scanf("%d", &n);
  k = (n + 1) / 2;
  mx = 2 * n * n;
  bit.push_back(2);
  bit.push_back(3);
  bit.push_back(5);
  bit.push_back(7);
  bit.push_back(11);
  rec(0, 1);
  vector<int> tmp;
  for (auto i : ans) {
    tmp.push_back(i);
  }
  for (int i = 0; i < tmp.size(); i++) {
    int x = tmp[i];
    if (x <= mx) {
      vector<int> sent;
      for (int j = 0; j < 5; j++) {
        if (x % bit[j] == 0) {
          sent.push_back(bit[j]);
        }
      }
      bfs(x, sent);
    }
  }
  while (1) {
    random_shuffle(baal.begin(), baal.end());
    memset(VIS, 0, sizeof VIS);
    for (int i = 1; i <= n; i++) {
      int x = baal[i];
      for (int j = 0; j < 5; j++) {
        if (x % bit[j] == 0) {
          VIS[bit[j]]++;
        }
      }
    }
    int ck = 0;
    for (int i = 0; i < 5; i++) {
      if (VIS[bit[i]] && VIS[bit[i]] < k) {
        ck = 1;
        break;
      }
    }
    if (ck == 0) {
      for (int i = 1; i <= n; i++) {
        printf("%d", baal[i]);
        printf(" ");
      }
      return 0;
    }
  }
  return 0;
}