K = int(input().strip())
loop, mod = divmod(K, 9)
for i in range(1, min(10, K+1)):
    print(i)
for i in range(1, loop):
    for j in range(2, 11):
        print(j*10**i-1)
if(loop != 0):
    for j in range(2, mod+2):
        print(j*10**(loop)-1)