#coding:utf-8
K = int(input())
if K <= 9:
    for i in range(1,K+1):
        print(i)
else:
    for i in range(1, 10):
        print(i)
    K -= 9
    for i in range(K):
        num = 19 + 10 * i
        print(num)

