/**
 * This exercise requires finding the common elements between three sets and understanding the precedence of logical operators.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @param set3 The third set.
 * @return A set containing common elements among all three sets.
 */
fun findCommonElements(set1: Set<*>, set2: Set<*>, set3: Set<*>): Set<*> {

    // Write your code here to find the common elements among all three sets
    val commonElements = set1.intersect(set2).intersect(set3)

    return commonElements
}
/**
 * This exercise requires finding the common elements between three sets and understanding the precedence of logical operators.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @param set3 The third set.
 * @return A set containing common elements among all three sets.
 */
fun findCommonElements(set1: Set<*>, set2: Set<*>, set3: Set<*>): Set<*> {
/**
 * This exercise requires finding the common elements between three sets and understanding the precedence of logical operators.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @param set3 The third set.
 * @return A set containing common elements among all three sets.
 */
fun findCommonElements(set1: Set<*>, set2: Set<*>, set3: Set<*>): Set<*> {

    // Write your code here to find the common elements among all three sets
    val commonElements = set1.intersect(set2).intersect(set3)

    return commonElements
}