def S(n):
    k=list(str(n))
    import functools
    return functools.reduce(lambda x,y:x+y,[int(i) for i in k])
k=int(input())
def T(n):
    return n/S(n)
A=[i for i in range(1,10)]
import functools
i=1
j=1
while len(A)<k:
    A.append((j+1)*10**(i)-1)
    j+=1
    if j==10:
        j=1
        i+=1
for i in range(k):
    print(A[i])
    