K = input()
n = int(K)
Sn = 0
for k in K:
    Sn += int(k)

npSn = n / Sn

if n < 10:
    for i in range(n):
        print(i+1)

else:
    for i in range(9):
        print(i+1)
    for i in range(n-9):
        print(9 + 10 * (i+1))


