/**
 * This function takes two sets as input and returns the intersection of their elements using nested loops.
 */
fun nestedLoopIntersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Initialize an empty set to store the common elements
    val intersectionSet = mutableSetOf<Any>()

    // TODO: Write code here to perform nested loops and find the intersection of the sets

    // Return the intersection set
    return intersectionSet
}
/**
 * This function takes two sets as input and returns the intersection of their elements using nested loops.
 */
fun nestedLoopIntersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * This function takes two sets as input and returns the intersection of their elements using nested loops.
 */
fun nestedLoopIntersection(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Initialize an empty set to store the common elements
    val intersectionSet = mutableSetOf<Any>()

    // TODO: Write code here to perform nested loops and find the intersection of the sets

    // Return the intersection set
    return intersectionSet
}