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 n;
int su[2000000];
int sui;
int use[2000000];
int prime[10] = {2, 3, 5, 7, 11, 13, 17, 19};
int stat[10];
int I;
void makeprime(int now, int nowsu) {
  int i;
  if (now == I) {
    su[sui++] = nowsu;
    return;
  }
  makeprime(now + 1, nowsu);
  for (i = 0;; i++) {
    nowsu *= prime[now];
    if (nowsu > 2 * n * n) break;
    makeprime(now + 1, nowsu);
  }
}
int main() {
  int i, j, k;
  int half;
  scanf("%d", &n);
  half = (n + 1) / 2;
  for (i = 2; i <= 8; i++) {
    I = i;
    sui = 0;
    fill(use, use + 2000000, 0);
    makeprime(0, 1);
    if (sui < n) continue;
    sort(su, su + sui);
    for (j = 0; j < i; j++) {
      int cnt = 0;
      for (k = 0; k < sui; k++) {
        if (su[k] % prime[j] == 0) {
          cnt++;
          use[k] = 1;
          if (cnt == half) break;
        }
      }
    }
    int total = 0;
    for (j = 0; j < sui; j++) {
      if (use[j]) total++;
    }
    for (j = 0; j < sui; j++) {
      if (use[j] == 0) {
        total++;
        use[j] = 1;
        if (total == n) break;
      }
    }
    if (total != n) continue;
    for (j = 0; j < sui; j++) {
      if (use[j]) printf("%d ", su[j]);
    }
    break;
  }
  return 0;
}