/**
 * Given a name, modify it by removing all vowels and converting each remaining letter to uppercase.
 *
 * @param name The name to be modified.
 * @return The modified name.
 */
fun modifyName(name: String): String {

    // Use filter and map to modify the name
    return name.filter { it.toLowerCase() !in listOf('a', 'e', 'i', 'o', 'u') }
        .map { it.toUpperCase() }
        .joinToString("")
}
/**
 * Given a name, modify it by removing all vowels and converting each remaining letter to uppercase.
 *
 * @param name The name to be modified.
 * @return The modified name.
 */
fun modifyName(name: String): String {
/**
 * Given a name, modify it by removing all vowels and converting each remaining letter to uppercase.
 *
 * @param name The name to be modified.
 * @return The modified name.
 */
fun modifyName(name: String): String {

    // Use filter and map to modify the name
    return name.filter { it.toLowerCase() !in listOf('a', 'e', 'i', 'o', 'u') }
        .map { it.toUpperCase() }
        .joinToString("")
}