/**
 * This function takes in two tuples as input and returns a new tuple 
 * that contains the element-wise sum of the input tuples.
 * 
 * Example:
 * tupleAddition(listOf(1, 2, 3), listOf(4, 5, 6)) => listOf(5, 7, 9)
 * tupleAddition(listOf(10, 20, 30), listOf(40, 50, 60)) => listOf(50, 70, 90)
 */
fun tupleAddition(t1: List<Int>, t2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    for (i in t1.indices) {
        result.add(t1[i] + t2[i])
    }
    return result
}
/**
 * This function takes in two tuples as input and returns a new tuple 
 * that contains the element-wise sum of the input tuples.
 * 
 * Example:
 * tupleAddition(listOf(1, 2, 3), listOf(4, 5, 6)) => listOf(5, 7, 9)
 * tupleAddition(listOf(10, 20, 30), listOf(40, 50, 60)) => listOf(50, 70, 90)
 */
fun tupleAddition(t1: List<Int>, t2: List<Int>): List<Int> {
/**
 * This function takes in two tuples as input and returns a new tuple 
 * that contains the element-wise sum of the input tuples.
 * 
 * Example:
 * tupleAddition(listOf(1, 2, 3), listOf(4, 5, 6)) => listOf(5, 7, 9)
 * tupleAddition(listOf(10, 20, 30), listOf(40, 50, 60)) => listOf(50, 70, 90)
 */
fun tupleAddition(t1: List<Int>, t2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    for (i in t1.indices) {
        result.add(t1[i] + t2[i])
    }
    return result
}