# coding: utf-8


def s(n):
    s_n = 0
    tmp = n

    while tmp > 0:
        s_n += tmp % 10
        tmp //= 10
    return s_n


k = int(input())

for i in range(1, k+1):
    if i < 10:
        print(i)
    else:
        j = i-9
        k = 10 ** (j//10)
        x = k * j + 9
        print(x)
