/**
 * This function counts the number of vowels in each name of the musician set and returns a list with the results.
 *
 * @param musicianSet A set containing the names of musicians
 * @return A list with the number of vowels in each musician name
 */
fun countVowels(musicianSet: Set<String>): List<Int> {

    val countVowelsList = mutableListOf<Int>()

    for (musicianName in musicianSet) {
        var vowelsCount = 0

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

        countVowelsList.add(vowelsCount)
    }

    return countVowelsList
}
/**
 * This function counts the number of vowels in each name of the musician set and returns a list with the results.
 *
 * @param musicianSet A set containing the names of musicians
 * @return A list with the number of vowels in each musician name
 */
fun countVowels(musicianSet: Set<String>): List<Int> {
/**
 * This function counts the number of vowels in each name of the musician set and returns a list with the results.
 *
 * @param musicianSet A set containing the names of musicians
 * @return A list with the number of vowels in each musician name
 */
fun countVowels(musicianSet: Set<String>): List<Int> {

    val countVowelsList = mutableListOf<Int>()

    for (musicianName in musicianSet) {
        var vowelsCount = 0

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

        countVowelsList.add(vowelsCount)
    }

    return countVowelsList
}