K = input()
h = int(K)
i = 0


num = 1
while h > 0:

    i += num
    if i >= 9: num = 10
    if i >= 99: num = 100
    if i >= 999: num = 1000
    if i >= 9999: num = 10000
    if i >= 99999: num = 100000
    if i >= 999999: num = 1000000
    if i >= 9999999: num = 10000000
    if i >= 99999999: num = 100000000
    if i >= 999999999: num = 1000000000
    if i >= 9999999999: num = 10000000000
    if i >= 99999999999: num = 100000000000
    if i >= 999999999999: num = 1000000000000
    if i >= 9999999999999: num = 10000000000000
    if i >= 99999999999999: num = 100000000000000

    print(i)
    h -= 1