/**
 * Given a result as a tuple containing three scores,
 * return true if the athlete achieved the best result,
 * otherwise return false.
 *
 * Assume that the first score represents the score of the current game,
 * the second score represents the athlete's personal best score,
 * and the third score represents the world record.
 *
 * Example:
 * isBestResult(20, 18, 15) -> true
 * isBestResult(18, 20, 15) -> false
 */
fun isBestResult(result: Triple<Int, Int, Int>): Boolean {

    // Compare the current game score with personal best score and world record
    return result.first > result.second && result.first > result.third
}
/**
 * Given a result as a tuple containing three scores,
 * return true if the athlete achieved the best result,
 * otherwise return false.
 *
 * Assume that the first score represents the score of the current game,
 * the second score represents the athlete's personal best score,
 * and the third score represents the world record.
 *
 * Example:
 * isBestResult(20, 18, 15) -> true
 * isBestResult(18, 20, 15) -> false
 */
fun isBestResult(result: Triple<Int, Int, Int>): Boolean {
/**
 * Given a result as a tuple containing three scores,
 * return true if the athlete achieved the best result,
 * otherwise return false.
 *
 * Assume that the first score represents the score of the current game,
 * the second score represents the athlete's personal best score,
 * and the third score represents the world record.
 *
 * Example:
 * isBestResult(20, 18, 15) -> true
 * isBestResult(18, 20, 15) -> false
 */
fun isBestResult(result: Triple<Int, Int, Int>): Boolean {

    // Compare the current game score with personal best score and world record
    return result.first > result.second && result.first > result.third
}