/**
 * This function takes a list of tuples as input and returns the count of tuples where the last element is greater 
 * than or equal to the sum of the first and second elements.
 *
 * @param tuples A list of tuples where each tuple contains three integer elements.
 * @return The count of tuples where the last element is greater than or equal to the sum of the first and second elements.
 */
fun greaterThanOrEqualToSlicedTuples(tuples: List<Triple<Int, Int, Int>>): Int {

    var count = 0

    for (tpl in tuples) {
        if (tpl.third >= tpl.first + tpl.second) {
            count++
        }
    }

    return count
}
/**
 * This function takes a list of tuples as input and returns the count of tuples where the last element is greater 
 * than or equal to the sum of the first and second elements.
 *
 * @param tuples A list of tuples where each tuple contains three integer elements.
 * @return The count of tuples where the last element is greater than or equal to the sum of the first and second elements.
 */
fun greaterThanOrEqualToSlicedTuples(tuples: List<Triple<Int, Int, Int>>): Int {
/**
 * This function takes a list of tuples as input and returns the count of tuples where the last element is greater 
 * than or equal to the sum of the first and second elements.
 *
 * @param tuples A list of tuples where each tuple contains three integer elements.
 * @return The count of tuples where the last element is greater than or equal to the sum of the first and second elements.
 */
fun greaterThanOrEqualToSlicedTuples(tuples: List<Triple<Int, Int, Int>>): Int {

    var count = 0

    for (tpl in tuples) {
        if (tpl.third >= tpl.first + tpl.second) {
            count++
        }
    }

    return count
}