/**
 * Calculate the total calories burned during a workout session for an athlete.
 *
 * @param intensity The intensity level of the workout, either "high" or "low".
 * @param duration The duration of the workout session in minutes.
 * @return The total calories burned during the workout session.
 */
fun athleteWorkout(intensity: String, duration: Int): Int {

    val caloriesPerMinute: Int = when (intensity) {
        "high" -> 12
        "low" -> 6
        else -> return 0 // Invalid intensity level
    }

    val totalCaloriesBurned = caloriesPerMinute * duration
    return totalCaloriesBurned
}
/**
 * Calculate the total calories burned during a workout session for an athlete.
 *
 * @param intensity The intensity level of the workout, either "high" or "low".
 * @param duration The duration of the workout session in minutes.
 * @return The total calories burned during the workout session.
 */
fun athleteWorkout(intensity: String, duration: Int): Int {
/**
 * Calculate the total calories burned during a workout session for an athlete.
 *
 * @param intensity The intensity level of the workout, either "high" or "low".
 * @param duration The duration of the workout session in minutes.
 * @return The total calories burned during the workout session.
 */
fun athleteWorkout(intensity: String, duration: Int): Int {

    val caloriesPerMinute: Int = when (intensity) {
        "high" -> 12
        "low" -> 6
        else -> return 0 // Invalid intensity level
    }

    val totalCaloriesBurned = caloriesPerMinute * duration
    return totalCaloriesBurned
}