def main():
    K = int(input())
    for i in range(1, min(K, 10)):
        print(i)
    cnt = 1
    while (9 + cnt) <= K:
        print("1" + "9" * cnt)
        cnt += 1


if __name__ == "__main__":
    main()
