/**
 * Given a list of strings, iterate over each element and replace the vowels with '*'.
 *
 * @param lst A list of strings.
 * @return A new list with the vowels replaced by '*'.
 */
fun iterateAndChange(lst: List<String>): List<String> {

    val newLst = mutableListOf<String>()

    // Iterate over each element in the list
    for (element in lst) {
        var newElement = ""

        // Iterate over each character in the current element
        for (char in element) {
            if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
                newElement += '*'
            } else {
                newElement += char
            }
        }

        newLst.add(newElement)
    }

    return newLst
}
/**
 * Given a list of strings, iterate over each element and replace the vowels with '*'.
 *
 * @param lst A list of strings.
 * @return A new list with the vowels replaced by '*'.
 */
fun iterateAndChange(lst: List<String>): List<String> {
/**
 * Given a list of strings, iterate over each element and replace the vowels with '*'.
 *
 * @param lst A list of strings.
 * @return A new list with the vowels replaced by '*'.
 */
fun iterateAndChange(lst: List<String>): List<String> {

    val newLst = mutableListOf<String>()

    // Iterate over each element in the list
    for (element in lst) {
        var newElement = ""

        // Iterate over each character in the current element
        for (char in element) {
            if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
                newElement += '*'
            } else {
                newElement += char
            }
        }

        newLst.add(newElement)
    }

    return newLst
}