from itertools import count
import sys
K = int(input())

def solve(K):
    for i in count():
        for j in range(1, 10):
            if K == 0:
                return
            print(int(str(j) + ('9' * i))) 
            K -= 1

solve(K)