/**
 * Given a list of athletes, display their names and their best time for each event.
 *
 * @param athletes A list of athletes, where each athlete is represented as a Pair(name, times).
 */
fun displayTimes(athletes: List<Pair<String, List<Double>>>) {

    for (athlete in athletes) {
        val (name, times) = athlete
        val bestTime = times.minOrNull()
        println("$name - Best Time: $bestTime")
    }
}
/**
 * Given a list of athletes, display their names and their best time for each event.
 *
 * @param athletes A list of athletes, where each athlete is represented as a Pair(name, times).
 */
fun displayTimes(athletes: List<Pair<String, List<Double>>>) {
/**
 * Given a list of athletes, display their names and their best time for each event.
 *
 * @param athletes A list of athletes, where each athlete is represented as a Pair(name, times).
 */
fun displayTimes(athletes: List<Pair<String, List<Double>>>) {

    for (athlete in athletes) {
        val (name, times) = athlete
        val bestTime = times.minOrNull()
        println("$name - Best Time: $bestTime")
    }
}