Added input prompts for question 7.