/**
 * This function takes two sets as input and returns a set of common elements between the two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<*>, set2: Set<*>): Set<*> {

    // Find the common elements between set1 and set2 using set intersection
    val commonElements = set1.intersect(set2)
    
    return commonElements
}
/**
 * This function takes two sets as input and returns a set of common elements between the two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * This function takes two sets as input and returns a set of common elements between the two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<*>, set2: Set<*>): Set<*> {

    // Find the common elements between set1 and set2 using set intersection
    val commonElements = set1.intersect(set2)
    
    return commonElements
}