/**
 * This function removes the common elements between two lists using the complement operator.
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list obtained by removing the common elements between list1 and list2.
 */
fun removeCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val result = mutableListOf<Any>()
    for (element in list1) {
        if (element !in list2) {  // Check if the element is not present in list2
            result.add(element)
        }
    }
    return result
}
/**
 * This function removes the common elements between two lists using the complement operator.
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list obtained by removing the common elements between list1 and list2.
 */
fun removeCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function removes the common elements between two lists using the complement operator.
 * @param list1 The first list.
 * @param list2 The second list.
 * @return A new list obtained by removing the common elements between list1 and list2.
 */
fun removeCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val result = mutableListOf<Any>()
    for (element in list1) {
        if (element !in list2) {  // Check if the element is not present in list2
            result.add(element)
        }
    }
    return result
}