k = int(input())

ans = []

k_i = k // 9
k_j = k % 9

for i in range(k_i):
    if i == 0:
        for j in range(9):
            ans.append(j+1)
    else:
        for j in range(9):
            ans.append((10**i)*(j+2) - 1)

for i in range(k_j):
    ans.append((10**(k_i))*(i+2) - 1)

for i in range(len(ans)):
    print(ans[i])


