K = int(input())
if K >= 9:
    for i in range(1, 10):
        print(i)
else:
    for i in range(1, K+1):
        print(i)
        exit()

K = K - 9
for i in range(1, K+1):
    for j in range(2, 11):
        x = (10**i)*j - 1
        print(x)