/**
 * Given a list of tuples, this function checks if the first element of each tuple is not equal to the second element.
 * It returns a new list with the tuples where the first element is not equal to the second element.
 */
fun accessTupleElements(tupleList: List<Pair<Any, Any>>): List<Pair<Any, Any>> {

    val result = mutableListOf<Pair<Any, Any>>()

    for (tup in tupleList) {
        if (tup.first != tup.second) {
            result.add(tup)
        }
    }

    return result
}
/**
 * Given a list of tuples, this function checks if the first element of each tuple is not equal to the second element.
 * It returns a new list with the tuples where the first element is not equal to the second element.
 */
fun accessTupleElements(tupleList: List<Pair<Any, Any>>): List<Pair<Any, Any>> {
/**
 * Given a list of tuples, this function checks if the first element of each tuple is not equal to the second element.
 * It returns a new list with the tuples where the first element is not equal to the second element.
 */
fun accessTupleElements(tupleList: List<Pair<Any, Any>>): List<Pair<Any, Any>> {

    val result = mutableListOf<Pair<Any, Any>>()

    for (tup in tupleList) {
        if (tup.first != tup.second) {
            result.add(tup)
        }
    }

    return result
}