K = int(input())
if K < 10:
    for i in range(K):
        print(i + 1)
else:
    for i in range(8):
        print(i + 1)
    for i in range(K - 8):
        print(int(str((i + 1) % 9) + '9' * ((i + 1) // 9)))
