Fixed code in else statement to print the right answer