/**
 * This function takes in two tuples and returns a tuple containing the common elements.
 */
fun findCommonElements(a: List<Any>, b: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (x in a) {
        if (x in b) {
            commonElements.add(x)
        }
    }
    return commonElements
}
/**
 * This function takes in two tuples and returns a tuple containing the common elements.
 */
fun findCommonElements(a: List<Any>, b: List<Any>): List<Any> {
/**
 * This function takes in two tuples and returns a tuple containing the common elements.
 */
fun findCommonElements(a: List<Any>, b: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (x in a) {
        if (x in b) {
            commonElements.add(x)
        }
    }
    return commonElements
}