/**
 * Given a dictionary representing an athlete's training data, the function should update the pace of each workout in the dictionary
 * if the distance is greater than or equal to the distance threshold. The pace should be increased by the pace_increase value.
 */
fun updatePace(athlete: MutableMap<String, List<MutableMap<String, Any>>>, distanceThreshold: Int, paceIncrease: Int): MutableMap<String, List<MutableMap<String, Any>>> {

    for ((_, workouts) in athlete) {
        for (workout in workouts) {
            if (workout["distance"] as Int >= distanceThreshold) {
                workout["pace"] = (workout["pace"] as Int) + paceIncrease
            }
        }
    }
    return athlete
}
/**
 * Given a dictionary representing an athlete's training data, the function should update the pace of each workout in the dictionary
 * if the distance is greater than or equal to the distance threshold. The pace should be increased by the pace_increase value.
 */
fun updatePace(athlete: MutableMap<String, List<MutableMap<String, Any>>>, distanceThreshold: Int, paceIncrease: Int): MutableMap<String, List<MutableMap<String, Any>>> {
/**
 * Given a dictionary representing an athlete's training data, the function should update the pace of each workout in the dictionary
 * if the distance is greater than or equal to the distance threshold. The pace should be increased by the pace_increase value.
 */
fun updatePace(athlete: MutableMap<String, List<MutableMap<String, Any>>>, distanceThreshold: Int, paceIncrease: Int): MutableMap<String, List<MutableMap<String, Any>>> {

    for ((_, workouts) in athlete) {
        for (workout in workouts) {
            if (workout["distance"] as Int >= distanceThreshold) {
                workout["pace"] = (workout["pace"] as Int) + paceIncrease
            }
        }
    }
    return athlete
}