/**
 * A biologist wants to find the common elements between two tuples.
 *
 * @param tuple1 the first tuple
 * @param tuple2 the second tuple
 * @return a new list containing the common elements between tuple1 and tuple2
 */
fun findCommonElements(tuple1: List<Any>, tuple2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    // Iterate through each element of tuple1
    for (element in tuple1) {
        // Check if the current element is present in tuple2
        if (element in tuple2) {
            // Add the common element to the new list
            commonElements.add(element)
        }
    }

    return commonElements
}
/**
 * A biologist wants to find the common elements between two tuples.
 *
 * @param tuple1 the first tuple
 * @param tuple2 the second tuple
 * @return a new list containing the common elements between tuple1 and tuple2
 */
fun findCommonElements(tuple1: List<Any>, tuple2: List<Any>): List<Any> {
/**
 * A biologist wants to find the common elements between two tuples.
 *
 * @param tuple1 the first tuple
 * @param tuple2 the second tuple
 * @return a new list containing the common elements between tuple1 and tuple2
 */
fun findCommonElements(tuple1: List<Any>, tuple2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    // Iterate through each element of tuple1
    for (element in tuple1) {
        // Check if the current element is present in tuple2
        if (element in tuple2) {
            // Add the common element to the new list
            commonElements.add(element)
        }
    }

    return commonElements
}