/**
 * This function returns a set of common elements between two given sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    val commonElements = mutableSetOf<Any>()

    // Iterate through the first set
    for (elem in set1) {
        // Complete the if statement to check if 'elem" is present in the second set
        if (set2.contains(elem)) {
            // Add the element to the 'commonElements" set
            commonElements.add(elem)
        }
    }

    return commonElements
}
/**
 * This function returns a set of common elements between two given sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * This function returns a set of common elements between two given sets.
 */
fun findCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    val commonElements = mutableSetOf<Any>()

    // Iterate through the first set
    for (elem in set1) {
        // Complete the if statement to check if 'elem" is present in the second set
        if (set2.contains(elem)) {
            // Add the element to the 'commonElements" set
            commonElements.add(elem)
        }
    }

    return commonElements
}