/**
 * The function takes two lists as input and returns the addition of the corresponding elements of the lists.
 * For example, if we have two lists list1 = listOf(1, 2, 3) and list2 = listOf(4, 5, 6), the function will return listOf(5, 7, 9).
 */
fun tupleAddition(list1: List<Int>, list2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    // Iterate over the elements of the lists
    for (i in list1.indices) {
        // Add the corresponding elements and append the sum to the result list
        result.add(list1[i] + list2[i])
    }
    return result
}
/**
 * The function takes two lists as input and returns the addition of the corresponding elements of the lists.
 * For example, if we have two lists list1 = listOf(1, 2, 3) and list2 = listOf(4, 5, 6), the function will return listOf(5, 7, 9).
 */
fun tupleAddition(list1: List<Int>, list2: List<Int>): List<Int> {
/**
 * The function takes two lists as input and returns the addition of the corresponding elements of the lists.
 * For example, if we have two lists list1 = listOf(1, 2, 3) and list2 = listOf(4, 5, 6), the function will return listOf(5, 7, 9).
 */
fun tupleAddition(list1: List<Int>, list2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()
    // Iterate over the elements of the lists
    for (i in list1.indices) {
        // Add the corresponding elements and append the sum to the result list
        result.add(list1[i] + list2[i])
    }
    return result
}