
K = int(input())

if K < 10:
    for i in range(K):
        print(i+1)
        
else:
    K -= 9
    for i in range(9):
        print(i+1)
    
    t = 0
    s = 10
    while K:
        t += 1
        print(s*(t+1) - 1)
        if t == 9:
            t = 0
            s *= 10
        K -= 1