K = int(input())
j = 1
Flag = False
while(K > 0):
    for k in range(1, 10):
        if(Flag):
            print(k * 10 ** (j-1) - 1)
            K -= 1
            if(K == 0):
                break
        else:
            Flag = True
    j += 1