/**
 * In legal documentation, it is often required to compare tuples representing different pieces of evidence.
 * Your task is to complete the code below by writing an alternative to the ternary operator (if-else expression)
 * to compare the given tuples.
 *
 * @param t1 the first tuple containing legal evidence (e.g., (document1, signature1))
 * @param t2 the second tuple containing legal evidence (e.g., (document2, signature2))
 * @return True if the evidence within the first tuple is more recent than the second tuple, False otherwise.
 */
fun compareTuples(t1: Pair<Int, Int>, t2: Pair<Int, Int>): Boolean {

    // Write an alternative to the ternary operator to compare the tuples
    return if (t1.first > t2.first || (t1.first == t2.first && t1.second > t2.second)) {
        true
    } else {
        false
    }
}
/**
 * In legal documentation, it is often required to compare tuples representing different pieces of evidence.
 * Your task is to complete the code below by writing an alternative to the ternary operator (if-else expression)
 * to compare the given tuples.
 *
 * @param t1 the first tuple containing legal evidence (e.g., (document1, signature1))
 * @param t2 the second tuple containing legal evidence (e.g., (document2, signature2))
 * @return True if the evidence within the first tuple is more recent than the second tuple, False otherwise.
 */
fun compareTuples(t1: Pair<Int, Int>, t2: Pair<Int, Int>): Boolean {
/**
 * In legal documentation, it is often required to compare tuples representing different pieces of evidence.
 * Your task is to complete the code below by writing an alternative to the ternary operator (if-else expression)
 * to compare the given tuples.
 *
 * @param t1 the first tuple containing legal evidence (e.g., (document1, signature1))
 * @param t2 the second tuple containing legal evidence (e.g., (document2, signature2))
 * @return True if the evidence within the first tuple is more recent than the second tuple, False otherwise.
 */
fun compareTuples(t1: Pair<Int, Int>, t2: Pair<Int, Int>): Boolean {

    // Write an alternative to the ternary operator to compare the tuples
    return if (t1.first > t2.first || (t1.first == t2.first && t1.second > t2.second)) {
        true
    } else {
        false
    }
}