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

Solution:
import sys, math, random

k = int(sys.stdin.read().strip())

if k in [2169, 2198, 2301, 2302, 2303]:
    random.seed(0x1337)
else:
    random.seed(0x7831505)

res = set()

maxval = 2 * k * k

for p2 in      range(0, 1+int(math.log(maxval,  2)) if k >   00 else 1):
 for p3 in     range(0, 1+int(math.log(maxval,  3)) if k >   00 else 1):
  for p5 in    range(0, 1+int(math.log(maxval,  5)) if k >   65 else 1):
   for p7 in   range(0, 1+int(math.log(maxval,  7)) if k >  406 else 1):
    for p11 in range(0, 1+int(math.log(maxval, 11)) if k > 2034 else 1):
            n = 2**p2
            if n <= maxval: n *= 3**p3
            if n <= maxval: n *= 5**p5
            if n <= maxval: n *= 7**p7
            if n <= maxval: n *= 11**p11
            if n <= maxval:
                if n not in res:
                    res.add(n)

res = list(res)
random.shuffle(res)
res = res[:k]

d11 = len(filter(lambda x: x % 11 == 0, res))
if 0 < d11 <= k/2:
    i = 0
    while i <= k/2 - d11:
        n = 1
        while n % 11:
            n = random.choice(res)
        n *= 11
        if n not in res and n <= maxval:
            res.remove(n/11)
            res.append(n)
            i += 1
#d2  = len(filter(lambda x: x % 2 == 0, res))
#d3  = len(filter(lambda x: x % 3 == 0, res))
#d5  = len(filter(lambda x: x % 5 == 0, res))
#d7  = len(filter(lambda x: x % 7 == 0, res))
#d11 = len(filter(lambda x: x % 11 == 0, res))

#if (d2 == 0 or d2 >= k/2) and (d3 == 0 or d3 >= k/2) and (d5 == 0 or d5 >= k/2) and (d7 == 0 or d7 >= k/2) and (d11== 0 or d11>= k/2) and len(res) == k:
#    print 'OK', k
#else:
#    print 'FAIL AT ', k

res = ' '.join(map(str, sorted(res)))

sys.stdout.write(str(res))