def main():
    K = int(input())
    for i in range(min(K, 9)):
        print(i+1)
    if K <= 9:
        return
    q = 1
    joi = 1
    for i in range(K-9):
        print(str(joi)+"9"*q)
        joi += 1
        if joi > 9:
            joi = 1
            q += 1


if __name__ == "__main__":
    main()