k = int(input())
keta = k // 9
upper = k % 9
if keta > 0:
    for i in range(keta):
        for hoge in range(1,10):
            print((hoge+1) *10**i -1)
if upper > 0:
    for hoge in range(1,upper+1):
        print((hoge+1) *10**keta -1)