/**
 * This function calculates the total cost of the given list of items, excluding items with odd quantities.
 *
 * @param items a list of tuples containing the item name, quantity, and cost
 * @return the total cost of the items with even quantities
 */
fun calculateTotalCost(items: List<Triple<String, Int, Int>>): Int {

    var totalCost = 0

    for (item in items) {
        if (item.second % 2 != 0) {
            continue
        }

        totalCost += item.second * item.third
    }

    return totalCost
}
/**
 * This function calculates the total cost of the given list of items, excluding items with odd quantities.
 *
 * @param items a list of tuples containing the item name, quantity, and cost
 * @return the total cost of the items with even quantities
 */
fun calculateTotalCost(items: List<Triple<String, Int, Int>>): Int {
/**
 * This function calculates the total cost of the given list of items, excluding items with odd quantities.
 *
 * @param items a list of tuples containing the item name, quantity, and cost
 * @return the total cost of the items with even quantities
 */
fun calculateTotalCost(items: List<Triple<String, Int, Int>>): Int {

    var totalCost = 0

    for (item in items) {
        if (item.second % 2 != 0) {
            continue
        }

        totalCost += item.second * item.third
    }

    return totalCost
}