# import collections
K = int(input())

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

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

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

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