Prints a book when inputted