/**
 * This function finds the common elements between two sets using the 'intersect' function.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A list of common elements between the two sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): List<Any> {

    val commonElements = set1.intersect(set2).toList()
    return commonElements
}
/**
 * This function finds the common elements between two sets using the 'intersect' function.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A list of common elements between the two sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): List<Any> {
/**
 * This function finds the common elements between two sets using the 'intersect' function.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A list of common elements between the two sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): List<Any> {

    val commonElements = set1.intersect(set2).toList()
    return commonElements
}