/**
 * Given two lists of integers, delete the common elements present in both lists.
 *
 * @param list1 First list of integers.
 * @param list2 Second list of integers.
 * @return The modified list1 with the common elements deleted.
 */
fun deleteCommonElements(list1: MutableList<Int>, list2: MutableList<Int>): MutableList<Int> {

    val commonElements = list1.intersect(list2).toSet()
    list1.removeAll(commonElements)
    return list1
}
/**
 * Given two lists of integers, delete the common elements present in both lists.
 *
 * @param list1 First list of integers.
 * @param list2 Second list of integers.
 * @return The modified list1 with the common elements deleted.
 */
fun deleteCommonElements(list1: MutableList<Int>, list2: MutableList<Int>): MutableList<Int> {
/**
 * Given two lists of integers, delete the common elements present in both lists.
 *
 * @param list1 First list of integers.
 * @param list2 Second list of integers.
 * @return The modified list1 with the common elements deleted.
 */
fun deleteCommonElements(list1: MutableList<Int>, list2: MutableList<Int>): MutableList<Int> {

    val commonElements = list1.intersect(list2).toSet()
    list1.removeAll(commonElements)
    return list1
}