/**
 * This function takes two tuples of integers as input and returns a new tuple
 * containing the elementwise sum of the corresponding elements in the input tuples.
 *
 * @param t1 The first input tuple
 * @param t2 The second input tuple
 * @return A new tuple containing the elementwise sum of the corresponding elements in t1 and t2
 */
fun getElementwiseSum(t1: List<Int>, t2: List<Int>): List<Int> {

    if (t1.size != t2.size) {
        throw IllegalArgumentException("Input tuples must have the same length")
    }

    val result = t1.zip(t2) { a, b -> a + b }
    return result
}
/**
 * This function takes two tuples of integers as input and returns a new tuple
 * containing the elementwise sum of the corresponding elements in the input tuples.
 *
 * @param t1 The first input tuple
 * @param t2 The second input tuple
 * @return A new tuple containing the elementwise sum of the corresponding elements in t1 and t2
 */
fun getElementwiseSum(t1: List<Int>, t2: List<Int>): List<Int> {
/**
 * This function takes two tuples of integers as input and returns a new tuple
 * containing the elementwise sum of the corresponding elements in the input tuples.
 *
 * @param t1 The first input tuple
 * @param t2 The second input tuple
 * @return A new tuple containing the elementwise sum of the corresponding elements in t1 and t2
 */
fun getElementwiseSum(t1: List<Int>, t2: List<Int>): List<Int> {

    if (t1.size != t2.size) {
        throw IllegalArgumentException("Input tuples must have the same length")
    }

    val result = t1.zip(t2) { a, b -> a + b }
    return result
}