/**
 * This function takes a list of athletes and prints their names based on their age and nationality for a specific condition.
 */
fun printAthletes(athletes: List<Map<String, Any>>) {

    for (athlete in athletes) {
        if (athlete["age"] as Int > 20) {
            for (nationality in athlete["nationality"] as List<String>) {
                if (nationality == "USA") {
                    println(athlete["name"])
                }
            }
        }
    }
}
/**
 * This function takes a list of athletes and prints their names based on their age and nationality for a specific condition.
 */
fun printAthletes(athletes: List<Map<String, Any>>) {
/**
 * This function takes a list of athletes and prints their names based on their age and nationality for a specific condition.
 */
fun printAthletes(athletes: List<Map<String, Any>>) {

    for (athlete in athletes) {
        if (athlete["age"] as Int > 20) {
            for (nationality in athlete["nationality"] as List<String>) {
                if (nationality == "USA") {
                    println(athlete["name"])
                }
            }
        }
    }
}