# coding=utf-8

K = int(input())

block = K // 9
rest = K % 9

if block == 0:
    for i in range(1, rest+1):
        print(i)
else:
    memo = 0
    for j in range(block+1):
        if j == block:
            for h in range(1, rest+1):
                print(memo + h*10**j)
            break
        for k in range(1, 10):
            print(memo + k*10**j)
        memo += 9*10**j
