/**
 * This function takes two lists as input and returns a new list with elements that are common to both lists removed.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list with elements that are common to both lists removed.
 */
fun removeElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val newList = mutableListOf<Any>()

    for (item1 in list1) {
        if (item1 !in list2) {
            newList.add(item1)
        }
    }

    return newList
}
/**
 * This function takes two lists as input and returns a new list with elements that are common to both lists removed.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list with elements that are common to both lists removed.
 */
fun removeElements(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function takes two lists as input and returns a new list with elements that are common to both lists removed.
 *
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list with elements that are common to both lists removed.
 */
fun removeElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val newList = mutableListOf<Any>()

    for (item1 in list1) {
        if (item1 !in list2) {
            newList.add(item1)
        }
    }

    return newList
}