k = int(input())
if k <= 9 :
    roop = k
    for i in range(1,k+1):
        print(i)
else:
    for i in range(1,10):
        print(i)
    counter = 0
    max_count = k-9
    for i in range(19,1000000000000000,10):
        print(i)
        counter += 1
        if counter == max_count:
            break
        