/**
 * This function takes two strings as input and returns a list of common vowels present in both strings.
 */
fun findCommonVowels(string1: String, string2: String): List<Char> {

    val vowels = listOf('a', 'e', 'i', 'o', 'u')
    val commonVowels = mutableListOf<Char>()

    // Iterate through each letter in the first string
    for (letter in string1) {
        // Check if the letter is a vowel and is present in both strings
        if (letter in vowels && letter in string2 && letter !in commonVowels) {
            commonVowels.add(letter)
        }
    }

    return commonVowels
}
/**
 * This function takes two strings as input and returns a list of common vowels present in both strings.
 */
fun findCommonVowels(string1: String, string2: String): List<Char> {
/**
 * This function takes two strings as input and returns a list of common vowels present in both strings.
 */
fun findCommonVowels(string1: String, string2: String): List<Char> {

    val vowels = listOf('a', 'e', 'i', 'o', 'u')
    val commonVowels = mutableListOf<Char>()

    // Iterate through each letter in the first string
    for (letter in string1) {
        // Check if the letter is a vowel and is present in both strings
        if (letter in vowels && letter in string2 && letter !in commonVowels) {
            commonVowels.add(letter)
        }
    }

    return commonVowels
}