k = int(input())

q, mod = divmod(k, 9)

for i in range(q + 1):
    upper = 10 ** i
    lower = upper - 1
    if i == q:
        r = range(1, mod + 1)
    else:
        r = range(1, 10)
    for j in r:
        num = j * upper + lower
        print(num)

