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

k = 19
c = 0
b = 1
for i in range(K):
    if i < 9:
        print(a[i])
    else:
        print(k)
        k+=10**b
        c += 1
        if c == 8:
            b += 1
            c = 0
