k = int(input())
if k < 10:
    for i in range(1, k + 1):
        print(i)
else:
    for i in range(1, 10):
        print(i)
    ge = "1"
    do = "9"
    for i in range(k - 9):
        if i % 2 == 0:
            ge += "9"
            print(ge)
        else:
            do += "0"
            print(do)
