k = int(input())
if k<10:
    for i in range(k):
        print(i+1)
else:
    for i in range(9):
        print(i+1)
    i = 0
    m = 1
    while i<k-9:
        for j in range(1,10):
            print(str(j)+'9'*m)
            i+=1
            if i==k-9:
                break
        m+=1