def sum_digit(n):
    n_str = str(n)
    ans = 0
    for dig in n_str:
        ans += int(dig)
    return ans

K = int(input())

for i in range(K):
    k, a= divmod(i + 1, 9) #i + 1 = 9 * k + a
    print((a + 1) * (10 ** k) - 1)

