k = int(input())

second_num = 0
second_counter = 10
second_base = 9


top_counter = 1
base_counter = 9

for i in range(k):
    if i < 9: 
        print(i + 1)
    else:

        print("{}{}".format(top_counter, base_counter))
        top_counter += 1

        if top_counter >= 10:
            top_counter = 1
            base_counter *= 10
            base_counter += 9

