def S(n):
    ans = 0
    while n > 0 :
        ans += n % 10
        n //= 10
    return ans
K = int(input())

now = 1
t = 0
for _ in range(K):
    print(str(now) + ("9" * t))
    now += 1
    if now == 10 :
        now = 1
        t += 1