/**
 * Takes a sentence as input and returns the same sentence with words starting with vowels capitalized and words starting with consonants in lowercase
 */
fun capitalizeVowelConsonantWords(sentence: String): String {

    val vowelConsonantSentence = mutableListOf<String>()

    for (word in sentence.split(" ")) {
        if (word[0].toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            vowelConsonantSentence.add(word.capitalize())
        } else {
            vowelConsonantSentence.add(word.toLowerCase())
        }
    }

    return vowelConsonantSentence.joinToString(" ")
}
/**
 * Takes a sentence as input and returns the same sentence with words starting with vowels capitalized and words starting with consonants in lowercase
 */
fun capitalizeVowelConsonantWords(sentence: String): String {
/**
 * Takes a sentence as input and returns the same sentence with words starting with vowels capitalized and words starting with consonants in lowercase
 */
fun capitalizeVowelConsonantWords(sentence: String): String {

    val vowelConsonantSentence = mutableListOf<String>()

    for (word in sentence.split(" ")) {
        if (word[0].toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            vowelConsonantSentence.add(word.capitalize())
        } else {
            vowelConsonantSentence.add(word.toLowerCase())
        }
    }

    return vowelConsonantSentence.joinToString(" ")
}