K=int(input())
count=0

l =[1,2,3,4,5,6,7,8,9,19,29,39,49,59,69,79,89,99]
l2=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]
for i in range(K):
    l.append(int(str(l2[i%18])+"9"*(i//18 +1)))

for i in range(K):
    print(l[i])

    