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
    off = 10
    while True:
        if k == 0:
            break
        if start == 11:
            start = 2
            off = off * 10
        print( start * off - 1)
        start += 1
        k -= 1
