# coding: utf-8
def s(n):
    return sum(map(int,str(n)))

k=int(input())
if k<10:
    for i in range(1,k+1):
        print(i)
else:
    for i in range(1,10):
        print(i)
    k-=9
    s='1'
    for i in range(k):
        print(s+'9')
        s+='9'
