import math
k = int(input())
if k <= 9:
    for i in range(1,k+1):
        print(i)
    exit()
cou = int(math.ceil(k/9))
co = k % 9
for i in range(cou):
    if i != cou-1:
        for m in range(1,10):
            print(str(m)+"9"*(i))
    else:
        for m in range(1,co+1):
            print(str(m)+"9"*(i))