/**
 * This function takes two sets as input and returns their intersection.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 */
fun intersectOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    val intersectSet = set1.intersect(set2)
    return intersectSet
}
/**
 * This function takes two sets as input and returns their intersection.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 */
fun intersectOfSets(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * This function takes two sets as input and returns their intersection.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 */
fun intersectOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    val intersectSet = set1.intersect(set2)
    return intersectSet
}