Finished assignment 5. Expect only well-formed input.