K = int(input())

num_block = K // 9
num_rest = K % 9

for base in range(num_block):
    num_base = 10**base
    for j in range(1, 10):
        print((j + 1) * num_base - 1)

num_base = 10**num_block
for j in range(1, num_rest + 1):
    print((j + 1) * num_base - 1)
