/**
 * This function takes two sets A and B as input and finds the intersection of the two sets.
 * The intersection of two sets is the common elements present in both sets.
 *
 * @param A First set
 * @param B Second set
 * @return Intersection of sets A and B
 */
fun intersectionOfMultiplicationAndOperationsOnSets(A: Set<Any>, B: Set<Any>): Set<Any> {

    val commonElements = mutableSetOf<Any>()

    for (element in A) {
        if (element in B) {
            commonElements.add(element)
        }
    }

    return commonElements
}
/**
 * This function takes two sets A and B as input and finds the intersection of the two sets.
 * The intersection of two sets is the common elements present in both sets.
 *
 * @param A First set
 * @param B Second set
 * @return Intersection of sets A and B
 */
fun intersectionOfMultiplicationAndOperationsOnSets(A: Set<Any>, B: Set<Any>): Set<Any> {
/**
 * This function takes two sets A and B as input and finds the intersection of the two sets.
 * The intersection of two sets is the common elements present in both sets.
 *
 * @param A First set
 * @param B Second set
 * @return Intersection of sets A and B
 */
fun intersectionOfMultiplicationAndOperationsOnSets(A: Set<Any>, B: Set<Any>): Set<Any> {

    val commonElements = mutableSetOf<Any>()

    for (element in A) {
        if (element in B) {
            commonElements.add(element)
        }
    }

    return commonElements
}