K = int(input())
iK = int(K/9)
counter = 0
gcounter = 0
for gcounter in range(iK):
    for i in range(1,10):
        a = i*10**gcounter-1
        if a != 0:
            print(i*10**gcounter-1)
            counter += 1
gcounter += 1
rest = K - counter
for i in range(1,rest+1):
    print(i*10**gcounter-1)