/**
 * Given two sets, find the common elements between them.
 *
 * @param set1 First set
 * @param set2 Second set
 * @return A set containing the common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Use the intersect method on sets to find the common elements
    val commonElements = set1.intersect(set2)
    return commonElements
}
/**
 * Given two sets, find the common elements between them.
 *
 * @param set1 First set
 * @param set2 Second set
 * @return A set containing the common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * Given two sets, find the common elements between them.
 *
 * @param set1 First set
 * @param set2 Second set
 * @return A set containing the common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Use the intersect method on sets to find the common elements
    val commonElements = set1.intersect(set2)
    return commonElements
}