Challenge
You will be given a string that can contain lowercase letters, uppercase letters, or spaces. You have to turn the vowels (a, e, i, o, u) in the string to upper case and consonants will be into lower case. This applies whether or not the letter was originally upper case or lower case. Spaces remain as is. Note that "y" is a consonant.
ExampleExamples
Input
Hello World
Output
-> hEllO wOrld
abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVXWYZ -> AbcdEfghIjklmnOpqrstUvwxyz AbcdEfghIjklmnOpqrstUvxwyz
Info
- String contains onlyThe input string can contain letters A to Z letters, lowercase or uppercase, and spacespaces.
Input
The string
Output
The formatted string (Vowels uppercase and consonants lowercase).