K = int(input())

syou = K // 9
amari = K % 9

count = 0

for i in range(syou):
    for j in range(1,10):
        count += 10**i
        print(count)

for k in range(amari):
    count += 10**(i+1)
    print(count) 