K=int(input())
for i in range(3):
    for j in range(1,10):
        print(10**i*j+10**i-1)
        K-=1
        if K==0:
            break
    if K==0:
        break

if K!=0:
    for i in range(3,1000000):
        for j in range(1,10):
            for k in range(0,10):
                print(10**i*j+10**(i-1)*(k+1)+-1)
                K-=1
                if K==0:
                    break
            if K==0:
                break
        if K==0:
            break