/**
 * This function returns a set of common elements between two sets.
 *
 * @param set1 First set of elements
 * @param set2 Second set of elements
 * @return A set containing common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Intersect the two sets using the built-in intersect() function
    val commonElements = set1.intersect(set2)
    
    return commonElements
}
/**
 * This function returns a set of common elements between two sets.
 *
 * @param set1 First set of elements
 * @param set2 Second set of elements
 * @return A set containing common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * This function returns a set of common elements between two sets.
 *
 * @param set1 First set of elements
 * @param set2 Second set of elements
 * @return A set containing common elements between set1 and set2
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Intersect the two sets using the built-in intersect() function
    val commonElements = set1.intersect(set2)
    
    return commonElements
}