# import collections
K = int(input())

# def snuke(n):
#     S = 0
#     for i in str(n):
#         S+=int(i)
#     return n/S

# b = 9
# m = 1
# while True:
#     if b>1e5:
#         break
    
#     if snuke(b)>=m:
#         print(b,snuke(b))
#         m = snuke(b)
#     b += 10

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

n=1
while K>0:
    if n%10==9:
        n+=1
    print(((n+1)%10)*10**(n//10+1)-1)
    K-=1
    n+=1