def make(keta):
    num = '9' * (keta - 1)
    for i in range(1,10):
        s = str(i) + num
        
        print(int(s))
        
def make_(keta, res):
    num = '9' * keta
    for i in range(1,1+res):
        s = str(i) + num
        
        print(int(s))

K = int(input())

keta = K // 9
res = K % 9

for i in range(keta):
    make(i)

make_(keta, res)