K = int(input())


def calc(n):
    str_n = list(str(n))
    return n / sum([int(i) for i in str_n])


digit = 1
for i in range(1, K+1):
    n = i % 9
    if n == 0:
        ans = "9" + "9" * (digit - 1)
        digit += 1
    else:
        ans = str(n) + "9" * (digit - 1)
    print(int(ans))
