/**
 * This function takes two lists as input and returns the intersection of the two lists
 * by using the 'not in' operator and conditional statements.
 *
 * @param list1 First input list.
 * @param list2 Second input list.
 * @return Intersection of the two input lists.
 */
fun intersectListNotIn(list1: List<Any>, list2: List<Any>): List<Any> {

    val intersection = mutableListOf<Any>()

    for (item in list1) {
        if (item !in list2) {
            continue
        } else {
            intersection.add(item)
        }
    }

    return intersection
}
/**
 * This function takes two lists as input and returns the intersection of the two lists
 * by using the 'not in' operator and conditional statements.
 *
 * @param list1 First input list.
 * @param list2 Second input list.
 * @return Intersection of the two input lists.
 */
fun intersectListNotIn(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function takes two lists as input and returns the intersection of the two lists
 * by using the 'not in' operator and conditional statements.
 *
 * @param list1 First input list.
 * @param list2 Second input list.
 * @return Intersection of the two input lists.
 */
fun intersectListNotIn(list1: List<Any>, list2: List<Any>): List<Any> {

    val intersection = mutableListOf<Any>()

    for (item in list1) {
        if (item !in list2) {
            continue
        } else {
            intersection.add(item)
        }
    }

    return intersection
}