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

    return set1.intersect(set2)
}
/**
 * This function accepts two sets and returns their common elements.
 *
 * @param set1 The first set
 * @param set2 The second set
 * @return A set containing the common elements of set1 and set2
 */
fun getCommonElements(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * This function accepts two sets and returns their common elements.
 *
 * @param set1 The first set
 * @param set2 The second set
 * @return A set containing the common elements of set1 and set2
 */
fun getCommonElements(set1: Set<*>, set2: Set<*>): Set<*> {

    return set1.intersect(set2)
}