/**
 * Write a function that takes two sets as input and returns a new set containing only the elements 
 * that are present in both input sets.
 * 
 * @param set1 First set
 * @param set2 Second set
 * @return Intersection of the two input sets
 */
fun intersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Retrieve the common elements between the two sets using the intersect function
    return set1.intersect(set2)
}
/**
 * Write a function that takes two sets as input and returns a new set containing only the elements 
 * that are present in both input sets.
 * 
 * @param set1 First set
 * @param set2 Second set
 * @return Intersection of the two input sets
 */
fun intersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * Write a function that takes two sets as input and returns a new set containing only the elements 
 * that are present in both input sets.
 * 
 * @param set1 First set
 * @param set2 Second set
 * @return Intersection of the two input sets
 */
fun intersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Retrieve the common elements between the two sets using the intersect function
    return set1.intersect(set2)
}