k = int(input())
a = [1,2,3,4,5,6,7,8,9]
if k <= 9:
    for i in a:
        print(i)
        k -= 1
        if k == 0 :
            break
else:
    for i in a:
        print(i)
    k -= 9

    start = 2
    while True:
        if k == 0:
            break
        print( start * 10 - 1)
        k -= 1
        start += 1
