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 p[6] = {2, 3, 5, 7, 11, 13};
int num[20000];
int cc[6];
int k;
int countt = 0;
int T;
pair<int, int> a[20000];
void go(int v, int val, int dif) {
  if (v == T) {
    countt++;
    a[countt].first = dif;
    a[countt].second = val;
    return;
  }
  for (int vval = val; vval <= 2 * k * k; vval *= p[v]) {
    go(v + 1, vval, dif);
    if (val == vval) dif++;
  }
}
int main() {
  cin >> k;
  int okay = 0;
  while (!okay) {
    T = 2 + (rand() % 5);
    countt = 0;
    go(0, 1, 0);
    okay = 1;
    random_shuffle(a + 1, a + 1 + countt);
    if (countt < k) okay = 0;
    for (int j = 0; j < 6; j++) cc[j] = 0;
    for (int i = 1; i <= k; i++) {
      num[i - 1] = a[i].second;
      for (int j = 0; j < T; j++) {
        if (a[i].second % p[j] == 0) cc[j]++;
      }
    }
    for (int j = 0; j < T; j++)
      if (cc[j] < (k + 1) / 2) okay = 0;
  }
  if (okay) {
    for (int i = 0; i < k; i++) {
      cout << num[i];
      if (i < k - 1)
        cout << " ";
      else
        cout << endl;
    }
    return 0;
  }
  return 0;
}