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 JAVA):

Solution:
//package codeforces;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;

public class C {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    PrintWriter writer = new PrintWriter(System.out);
    StringTokenizer stringTokenizer;

    String next() throws IOException {
        while (stringTokenizer == null || !stringTokenizer.hasMoreTokens()) {
            stringTokenizer = new StringTokenizer(reader.readLine());
        }
        return stringTokenizer.nextToken();
    }

    int nextInt() throws IOException {
        return Integer.parseInt(next());
    }

    long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    void solve(int k) throws IOException {
        boolean[] isPrime = new boolean[200];
        Arrays.fill(isPrime, true);
        for(int i = 2; i < isPrime.length; i++) {
            for(int j = i * i; j < isPrime.length; j += i) {
                isPrime[j] = false;
            }
        }
        boolean[] good = new boolean[2 * k * k + 1];
        good[1] = true;
        int total = 0;
        int lastPrime = 0;
        for(int i = 2; i < isPrime.length; i++) {
            lastPrime = i;
            if(!isPrime[i]) continue;
            for(int j = 1; j < 2 * k * k; j++) {
                if(i * j > 2 * k * k) break;
                if(good[j]) {
                    good[i * j] = true;
                    total++;
                }
            }
            if(total >= k) {
                break;
            }
        }
        total = k;
        List<Integer> ans = new ArrayList<Integer>();
        for(int i = 2 * k * k; total > 0; i--) {
            if(good[i]) {
                ans.add(i);
                total--;
            }
        }
//        for(int i = 2; i <= lastPrime; i++) {
//            if(!isPrime[i]) continue;
//            int cnt = 0;
//            for(int x: ans) {
//                if(x % i == 0) cnt++;
//            }
//            if(2 * cnt < k) throw new RuntimeException();
//        }
        for(int x: ans) {
            writer.print(x + " ");
        }
        writer.println();
        writer.flush();
//        writer.close();
    }

    void solve() throws IOException {
//        for(int k = 10; k <= 5000; k++) {
//            writer.println(k);
//            solve(k);
//        }
        int k = nextInt();
        solve(k);
        writer.close();
    }

    public static void main(String[] args) throws IOException {
        new C().solve();
    }
}