k = int(input())
count = 0

for j in range(20):
    for i in range(9):
        count += 1
        print((i + 1) * 10**j + 10 ** j - 1)
        if count == k:
            break
    else:
        continue
    break
