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