k = int(input())

cnt = 0
loop = 0
stage = 0
base = 1
tail = ""
while 1:
    for i in range(1,10):
        print(str(i)+tail)
        cnt += 1
        if cnt ==k:
            exit(0)
    tail+='9'
     
