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>
#pragma comment(linker, "/STACK:256000000")
using namespace std;
bool isPrime(int n) {
  for (int i = 2; i * i <= n; ++i) {
    if (n % i == 0) {
      return false;
    }
  }
  return true;
}
vector<int> d[5000];
vector<int> a;
int rec(int maxSteps, int index, int value, int bound, const set<int> &used) {
  if (value > bound) {
    return -1;
  }
  if (maxSteps == index) {
    if (used.count(value) == 0) {
      return value;
    }
    return -1;
  }
  int res = -1;
  for (int i = 0; i < 5; ++i) {
    int buf = rec(maxSteps, index + 1, value, bound, used);
    if (buf != -1) {
      return buf;
    }
    value *= a[index];
    if (value > bound) {
      break;
    }
  }
  return res;
}
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 2; i <= 20000; ++i) {
    if (isPrime(i)) {
      a.push_back(i);
    }
  }
  while (true) {
    for (int steps = 1; steps <= 6; ++steps) {
      for (int i = 0; i < steps; ++i) {
        d[i] = vector<int>(n, 0);
        for (int j = 0; j < (n + 1) / 2; ++j) {
          d[i][j] = 1;
        }
        random_shuffle(d[i].begin(), d[i].end());
      }
      set<int> used;
      int bound = 2 * n * n;
      vector<int> res;
      for (int i = 0; i < n; ++i) {
        int value = 1;
        for (int j = 0; j < steps; ++j) {
          if (d[j][i]) {
            value *= a[j];
          }
        }
        if (value > bound) {
          break;
        }
        if (used.count(value) == 0) {
          used.insert(value);
          res.push_back(value);
          continue;
        }
        int score = rec(steps, 0, value, bound, used);
        if (score == -1) {
          break;
        }
        used.insert(score);
        res.push_back(score);
      }
      if (res.size() == n) {
        sort(res.begin(), res.end());
        for (int i = 0; i < n; ++i) {
          printf("%d ", res[i]);
        }
        printf("\n");
        return 0;
      }
    }
  }
  return 0;
}