/**
 * This function calculates the optimal speed for an athlete given the distance to cover and the time available.
 *
 * @param distance The distance to cover in meters.
 * @param time The time available in minutes.
 * @return The optimal speed of the athlete in meters per second.
 */
fun calculateOptimalSpeed(distance: Int, time: Int): Int {

    // Calculate the time available in seconds
    val totalSeconds = time * 60

    // Calculate the optimal speed by dividing the distance by the time in seconds
    val optimalSpeed = distance / totalSeconds

    // Return the optimal speed
    return optimalSpeed
}
/**
 * This function calculates the optimal speed for an athlete given the distance to cover and the time available.
 *
 * @param distance The distance to cover in meters.
 * @param time The time available in minutes.
 * @return The optimal speed of the athlete in meters per second.
 */
fun calculateOptimalSpeed(distance: Int, time: Int): Int {
/**
 * This function calculates the optimal speed for an athlete given the distance to cover and the time available.
 *
 * @param distance The distance to cover in meters.
 * @param time The time available in minutes.
 * @return The optimal speed of the athlete in meters per second.
 */
fun calculateOptimalSpeed(distance: Int, time: Int): Int {

    // Calculate the time available in seconds
    val totalSeconds = time * 60

    // Calculate the optimal speed by dividing the distance by the time in seconds
    val optimalSpeed = distance / totalSeconds

    // Return the optimal speed
    return optimalSpeed
}