/**
 * A mysterious archaeologist has discovered a set of ancient artifacts but he is unable to determine their true value.
 * Your task is to help him by using the ternary operator to check the values and calculate their sum.
 *
 * @param value1 The first artifact value.
 * @param value2 The second artifact value.
 * @param value3 The third artifact value.
 *
 * @return The sum of the artifact values if all values are greater than 10, otherwise return the product of the values.
 */
fun archaeologistPuzzle(value1: Int, value2: Int, value3: Int): Int {

    // Using the ternary operator to check if all values are greater than 10
    val result = if (value1 > 10 && value2 > 10 && value3 > 10) {
        // If all values are greater than 10, return their sum
        value1 + value2 + value3
    } else {
        // If any value is less than or equal to 10, return their product
        value1 * value2 * value3
    }

    return result
}
/**
 * A mysterious archaeologist has discovered a set of ancient artifacts but he is unable to determine their true value.
 * Your task is to help him by using the ternary operator to check the values and calculate their sum.
 *
 * @param value1 The first artifact value.
 * @param value2 The second artifact value.
 * @param value3 The third artifact value.
 *
 * @return The sum of the artifact values if all values are greater than 10, otherwise return the product of the values.
 */
fun archaeologistPuzzle(value1: Int, value2: Int, value3: Int): Int {
/**
 * A mysterious archaeologist has discovered a set of ancient artifacts but he is unable to determine their true value.
 * Your task is to help him by using the ternary operator to check the values and calculate their sum.
 *
 * @param value1 The first artifact value.
 * @param value2 The second artifact value.
 * @param value3 The third artifact value.
 *
 * @return The sum of the artifact values if all values are greater than 10, otherwise return the product of the values.
 */
fun archaeologistPuzzle(value1: Int, value2: Int, value3: Int): Int {

    // Using the ternary operator to check if all values are greater than 10
    val result = if (value1 > 10 && value2 > 10 && value3 > 10) {
        // If all values are greater than 10, return their sum
        value1 + value2 + value3
    } else {
        // If any value is less than or equal to 10, return their product
        value1 * value2 * value3
    }

    return result
}