K = int(input())
def S(n):
    return sum([int(i) for i in str(n)])
a = list(range(1, 10))

k = 19
for i in range(K):
    if i < 9:
        print(a[i])
    else:
        print(k)
        if k<99:
            k+=10
        else:
            k = k * 10 + 9
