/**
 * This function takes in a word as input and returns the number of vowels in the word.
 */
fun countVowels(word: String): Int {

    var vowelCount = 0

    for (char in word) {
        if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            vowelCount++
        }
    }

    return vowelCount
}
/**
 * This function takes in a word as input and returns the number of vowels in the word.
 */
fun countVowels(word: String): Int {
/**
 * This function takes in a word as input and returns the number of vowels in the word.
 */
fun countVowels(word: String): Int {

    var vowelCount = 0

    for (char in word) {
        if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            vowelCount++
        }
    }

    return vowelCount
}