import numpy as np

K = int(input())

digit = 0
top = 1
flag = 0

while True:
    if flag == K:
        exit()
    print(top * 10 ** digit + 10 ** digit - 1)
    flag += 1
    top += 1
    if top == 10:
        top = 1
        digit += 1