/**
 * The function takes two lists as inputs and returns a list of elements that are not common between the two lists.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list of elements that are in list1 but not in list2, and vice versa.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

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

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

    return commonElements
}
/**
 * The function takes two lists as inputs and returns a list of elements that are not common between the two lists.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list of elements that are in list1 but not in list2, and vice versa.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * The function takes two lists as inputs and returns a list of elements that are not common between the two lists.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list of elements that are in list1 but not in list2, and vice versa.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

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

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

    return commonElements
}