/**
 * Given two sets, return a new set that contains the elements present in both 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<Int>, set2: Set<Int>): Set<Int> {

    // Find the intersection of the two sets and return it
    return set1.intersect(set2)
}
/**
 * Given two sets, return a new set that contains the elements present in both 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<Int>, set2: Set<Int>): Set<Int> {
/**
 * Given two sets, return a new set that contains the elements present in both 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<Int>, set2: Set<Int>): Set<Int> {

    // Find the intersection of the two sets and return it
    return set1.intersect(set2)
}