/**
 * This function takes two tuples as input and returns a new tuple that contains the elements present in both tuples.
 */
fun tupleIntersection(tuple1: List<Any>, tuple2: List<Any>): List<Any> {

    val intersection = tuple1.filter { it in tuple2 }
    return intersection
}
/**
 * This function takes two tuples as input and returns a new tuple that contains the elements present in both tuples.
 */
fun tupleIntersection(tuple1: List<Any>, tuple2: List<Any>): List<Any> {
/**
 * This function takes two tuples as input and returns a new tuple that contains the elements present in both tuples.
 */
fun tupleIntersection(tuple1: List<Any>, tuple2: List<Any>): List<Any> {

    val intersection = tuple1.filter { it in tuple2 }
    return intersection
}