/**
 * This function takes two lists of integers as input and returns a set of integers that are greater than or equal to 3
 * and are present in both lists.
 *
 * @param nums1 The first list of integers.
 * @param nums2 The second list of integers.
 * @return A set of integers that satisfy the conditions mentioned above.
 */
fun findIntersection(nums1: List<Int>, nums2: List<Int>): Set<Int> {

    val intersection = mutableSetOf<Int>()

    for (num in nums1) {
        if (num >= 3 && num in nums2) {
            intersection.add(num)
        }
    }

    return intersection
}
/**
 * This function takes two lists of integers as input and returns a set of integers that are greater than or equal to 3
 * and are present in both lists.
 *
 * @param nums1 The first list of integers.
 * @param nums2 The second list of integers.
 * @return A set of integers that satisfy the conditions mentioned above.
 */
fun findIntersection(nums1: List<Int>, nums2: List<Int>): Set<Int> {
/**
 * This function takes two lists of integers as input and returns a set of integers that are greater than or equal to 3
 * and are present in both lists.
 *
 * @param nums1 The first list of integers.
 * @param nums2 The second list of integers.
 * @return A set of integers that satisfy the conditions mentioned above.
 */
fun findIntersection(nums1: List<Int>, nums2: List<Int>): Set<Int> {

    val intersection = mutableSetOf<Int>()

    for (num in nums1) {
        if (num >= 3 && num in nums2) {
            intersection.add(num)
        }
    }

    return intersection
}