/**
 * The mergeLists function takes in two lists and returns a new list that contains the intersection
 * of the two lists using the OR operator and list comprehension.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list containing the intersection of list1 and list2.
 */
fun mergeLists(list1: List<Any>, list2: List<Any>): List<Any> {

    return list1.filter { it in list2 } + list2.filter { it in list1 }
}
/**
 * The mergeLists function takes in two lists and returns a new list that contains the intersection
 * of the two lists using the OR operator and list comprehension.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list containing the intersection of list1 and list2.
 */
fun mergeLists(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * The mergeLists function takes in two lists and returns a new list that contains the intersection
 * of the two lists using the OR operator and list comprehension.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list containing the intersection of list1 and list2.
 */
fun mergeLists(list1: List<Any>, list2: List<Any>): List<Any> {

    return list1.filter { it in list2 } + list2.filter { it in list1 }
}