/**
 * You are given a map of athletes' names and their corresponding time in a race.
 * Find the name of the athlete who had the fastest time.
 *
 * @param athletes A map containing the name of each athlete as the key, and their time in seconds as the value.
 * @return The name of the athlete with the fastest time.
 */
fun findFastestAthleteTime(athletes: Map<String, Int>): String {

    var fastestAthlete: String? = null
    var fastestTime = Int.MAX_VALUE

    athletes.forEach { (athlete, time) ->
        if (time < fastestTime) {
            fastestAthlete = athlete
            fastestTime = time
        }
    }

    return fastestAthlete ?: ""
}
/**
 * You are given a map of athletes' names and their corresponding time in a race.
 * Find the name of the athlete who had the fastest time.
 *
 * @param athletes A map containing the name of each athlete as the key, and their time in seconds as the value.
 * @return The name of the athlete with the fastest time.
 */
fun findFastestAthleteTime(athletes: Map<String, Int>): String {
/**
 * You are given a map of athletes' names and their corresponding time in a race.
 * Find the name of the athlete who had the fastest time.
 *
 * @param athletes A map containing the name of each athlete as the key, and their time in seconds as the value.
 * @return The name of the athlete with the fastest time.
 */
fun findFastestAthleteTime(athletes: Map<String, Int>): String {

    var fastestAthlete: String? = null
    var fastestTime = Int.MAX_VALUE

    athletes.forEach { (athlete, time) ->
        if (time < fastestTime) {
            fastestAthlete = athlete
            fastestTime = time
        }
    }

    return fastestAthlete ?: ""
}