Correct the exercise according to the book
Use the book recommended version of user input