def digitSum(n):
    s = str(n)
    array = list(map(int, list(s)))
    return sum(array)

lst = [0]
ans = []
k = int(input())
tmp = 0
cnt = 0
i = 1
while cnt != k:
    if i%10 == 9 or i < 10:
        print(i)
        cnt += 1
    i += 1
