Refactored 04 to handle input that contains no vowels.