/**
 * This function takes two lists as input and returns a list of common elements between them.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    // Using filter to find common elements
    val commonElements = list1.filter { it in list2 }
    
    return commonElements
}
/**
 * This function takes two lists as input and returns a list of common elements between them.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function takes two lists as input and returns a list of common elements between them.
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): List<Any> {

    // Using filter to find common elements
    val commonElements = list1.filter { it in list2 }
    
    return commonElements
}