/**
 * This function finds the intersection of two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 *
 * Example:
 * intersectionOfSets(setOf(1, 2, 3, 4), setOf(3, 4, 5, 6)) // Output: setOf(3, 4)
 */
fun intersectionOfSets(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    return set1.intersect(set2)
}
/**
 * This function finds the intersection of two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 *
 * Example:
 * intersectionOfSets(setOf(1, 2, 3, 4), setOf(3, 4, 5, 6)) // Output: setOf(3, 4)
 */
fun intersectionOfSets(set1: Set<Int>, set2: Set<Int>): Set<Int> {
/**
 * This function finds the intersection of two sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The intersection of set1 and set2.
 *
 * Example:
 * intersectionOfSets(setOf(1, 2, 3, 4), setOf(3, 4, 5, 6)) // Output: setOf(3, 4)
 */
fun intersectionOfSets(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    return set1.intersect(set2)
}