/**
 * This function takes two tuples as input and returns a new tuple containing the common elements between them.
 */
fun intersectionOfTuples(tup1: List<Any>, tup2: List<Any>): List<Any> {

    // Finding the intersection of the two tuples
    val intersection = tup1.intersect(tup2).toList()
    
    return intersection
}
/**
 * This function takes two tuples as input and returns a new tuple containing the common elements between them.
 */
fun intersectionOfTuples(tup1: List<Any>, tup2: List<Any>): List<Any> {
/**
 * This function takes two tuples as input and returns a new tuple containing the common elements between them.
 */
fun intersectionOfTuples(tup1: List<Any>, tup2: List<Any>): List<Any> {

    // Finding the intersection of the two tuples
    val intersection = tup1.intersect(tup2).toList()
    
    return intersection
}