/**
 * This function compares the elements of two tuples and returns true if they have at least one common element.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return true if there is at least one common element in the two tuples, otherwise false.
 */
fun compareTuples(t1: List<Any>, t2: List<Any>): Boolean {

    for (elem1 in t1) {
        for (elem2 in t2) {
            if (elem1 == elem2) {
                return true
            }
        }
    }
    return false
}
/**
 * This function compares the elements of two tuples and returns true if they have at least one common element.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return true if there is at least one common element in the two tuples, otherwise false.
 */
fun compareTuples(t1: List<Any>, t2: List<Any>): Boolean {
/**
 * This function compares the elements of two tuples and returns true if they have at least one common element.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return true if there is at least one common element in the two tuples, otherwise false.
 */
fun compareTuples(t1: List<Any>, t2: List<Any>): Boolean {

    for (elem1 in t1) {
        for (elem2 in t2) {
            if (elem1 == elem2) {
                return true
            }
        }
    }
    return false
}