/**
 * Create a tuple using built-in functions.
 *
 * Task:
 * Your task is to create a tuple using built-in functions only, containing the sum,
 * product, and average of three given numbers.
 *
 * @param number1 The first number
 * @param number2 The second number
 * @param number3 The third number
 * @return A tuple containing the sum, product, and average of the three numbers respectively.
 *
 * Example:
 * createTupleWithFunctions(3, 5, 7) -> Triple(15, 105, 5.0)
 */
fun createTupleWithFunctions(number1: Int, number2: Int, number3: Int): Triple<Int, Int, Double> {

    val sumOfNumbers = listOf(number1, number2, number3).sum()
    val productOfNumbers = number1 * number2 * number3
    val averageOfNumbers = listOf(number1, number2, number3).average()

    return Triple(sumOfNumbers, productOfNumbers, averageOfNumbers)
}
/**
 * Create a tuple using built-in functions.
 *
 * Task:
 * Your task is to create a tuple using built-in functions only, containing the sum,
 * product, and average of three given numbers.
 *
 * @param number1 The first number
 * @param number2 The second number
 * @param number3 The third number
 * @return A tuple containing the sum, product, and average of the three numbers respectively.
 *
 * Example:
 * createTupleWithFunctions(3, 5, 7) -> Triple(15, 105, 5.0)
 */
fun createTupleWithFunctions(number1: Int, number2: Int, number3: Int): Triple<Int, Int, Double> {
/**
 * Create a tuple using built-in functions.
 *
 * Task:
 * Your task is to create a tuple using built-in functions only, containing the sum,
 * product, and average of three given numbers.
 *
 * @param number1 The first number
 * @param number2 The second number
 * @param number3 The third number
 * @return A tuple containing the sum, product, and average of the three numbers respectively.
 *
 * Example:
 * createTupleWithFunctions(3, 5, 7) -> Triple(15, 105, 5.0)
 */
fun createTupleWithFunctions(number1: Int, number2: Int, number3: Int): Triple<Int, Int, Double> {

    val sumOfNumbers = listOf(number1, number2, number3).sum()
    val productOfNumbers = number1 * number2 * number3
    val averageOfNumbers = listOf(number1, number2, number3).average()

    return Triple(sumOfNumbers, productOfNumbers, averageOfNumbers)
}