/**
 * This function takes two lists as input and returns a new list containing all the elements that are in list1 but not in list2.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return A new list containing elements present in list1 but not in list2
 */
fun copyNotEqualLists(list1: List<Int>, list2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (element in list1) {
        if (element !in list2) {
            result.add(element)
        }
    }

    return result
}
/**
 * This function takes two lists as input and returns a new list containing all the elements that are in list1 but not in list2.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return A new list containing elements present in list1 but not in list2
 */
fun copyNotEqualLists(list1: List<Int>, list2: List<Int>): List<Int> {
/**
 * This function takes two lists as input and returns a new list containing all the elements that are in list1 but not in list2.
 *
 * @param list1 The first list
 * @param list2 The second list
 * @return A new list containing elements present in list1 but not in list2
 */
fun copyNotEqualLists(list1: List<Int>, list2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (element in list1) {
        if (element !in list2) {
            result.add(element)
        }
    }

    return result
}