/**
 * Given two lists (lst1 and lst2), the function adds the element at the nested index (index1,index2) of lst2
 * to the element at the same nested index of lst1. The function then assigns the updated value back to lst1 using
 * the addition assignment operator. Finally, it returns the modified lst1.
 */
fun additionAssignmentAndNestedIndex(lst1: MutableList<MutableList<Int>>, lst2: List<List<Int>>, index1: Int, index2: Int): MutableList<MutableList<Int>> {

    // Access the element at the nested index of lst1
    val elementLst1 = lst1[index1][index2]

    // Access the element at the nested index of lst2
    val elementLst2 = lst2[index1][index2]

    // Add the two elements using the addition assignment operator
    lst1[index1][index2] += elementLst2

    return lst1
}
/**
 * Given two lists (lst1 and lst2), the function adds the element at the nested index (index1,index2) of lst2
 * to the element at the same nested index of lst1. The function then assigns the updated value back to lst1 using
 * the addition assignment operator. Finally, it returns the modified lst1.
 */
fun additionAssignmentAndNestedIndex(lst1: MutableList<MutableList<Int>>, lst2: List<List<Int>>, index1: Int, index2: Int): MutableList<MutableList<Int>> {
/**
 * Given two lists (lst1 and lst2), the function adds the element at the nested index (index1,index2) of lst2
 * to the element at the same nested index of lst1. The function then assigns the updated value back to lst1 using
 * the addition assignment operator. Finally, it returns the modified lst1.
 */
fun additionAssignmentAndNestedIndex(lst1: MutableList<MutableList<Int>>, lst2: List<List<Int>>, index1: Int, index2: Int): MutableList<MutableList<Int>> {

    // Access the element at the nested index of lst1
    val elementLst1 = lst1[index1][index2]

    // Access the element at the nested index of lst2
    val elementLst2 = lst2[index1][index2]

    // Add the two elements using the addition assignment operator
    lst1[index1][index2] += elementLst2

    return lst1
}