import sys 

K = int(input())

limit = 10 ** 15

if K == 0:
    sys.exit(0)

for i in range(1, 10):
    print(i)
    K -= 1
    if K == 0:
        break

for i in range(1, 16):
    for j in range(2, 10):
        if K == 0:
            break

        print((10 ** i) * j - 1)
        K -= 1
    if K == 0:
        break