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

    return set1.intersect(set2)
}
/**
 * This function takes two sets as input and returns a new set containing the common elements between the two sets.
 *
 * @param set1 First set.
 * @param set2 Second set.
 * @return The set of common elements between set1 and set2.
 */
fun commonElements(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * This function takes two sets as input and returns a new set containing the common elements between the two sets.
 *
 * @param set1 First set.
 * @param set2 Second set.
 * @return The set of common elements between set1 and set2.
 */
fun commonElements(set1: Set<*>, set2: Set<*>): Set<*> {

    return set1.intersect(set2)
}