/**
 * This function takes two lists as arguments and finds the elements that are common in both lists.
 *
 * @param l1 The first input list.
 * @param l2 The second input list.
 * @return A tuple containing the common elements between the two lists.
 */
fun getCommonElements(l1: List<Any>, l2: List<Any>): List<Any> {

    val uniqueElementsL1 = l1.toSet()
    val uniqueElementsL2 = l2.toSet()

    val commonElements = uniqueElementsL1.intersect(uniqueElementsL2).toList()

    return commonElements
}
/**
 * This function takes two lists as arguments and finds the elements that are common in both lists.
 *
 * @param l1 The first input list.
 * @param l2 The second input list.
 * @return A tuple containing the common elements between the two lists.
 */
fun getCommonElements(l1: List<Any>, l2: List<Any>): List<Any> {
/**
 * This function takes two lists as arguments and finds the elements that are common in both lists.
 *
 * @param l1 The first input list.
 * @param l2 The second input list.
 * @return A tuple containing the common elements between the two lists.
 */
fun getCommonElements(l1: List<Any>, l2: List<Any>): List<Any> {

    val uniqueElementsL1 = l1.toSet()
    val uniqueElementsL2 = l2.toSet()

    val commonElements = uniqueElementsL1.intersect(uniqueElementsL2).toList()

    return commonElements
}