N = int(input())
L = list(str(N))
S = 0
for i in range(len(L)) :
    S += int(L[i])

q = 0
for i in range(N) :
    if (i+1)%10 == 0 :
        p = 1
        q += 1
    else :
        p = (i+1)%10
    r = str(p)+"9"*q
    ans = int(r)
    print(ans)
    