k = int(input())
ans = []
for i in range(0, 19):
    for j in range(10**i, 10**(i+1), 10**i):
        ans.append(j-1)
ans = ans[1:]
for i in range(k):
    if ans[i] > 10 ** 15:
        break
    print(ans[i])
