/**
 * Calculate the total volume of a given dataset.
 *
 * Each tuple in the dataset contains the volume measured at 3 different time points.
 * The dataset is a list of such tuples.
 *
 * @param volumeData The dataset containing volume records.
 * @return The total volume of the dataset.
 */
fun calculateTotalVolume(volumeData: List<Triple<Int, Int, Int>>): Int {

    var totalVolume = 0

    for (data in volumeData) {
        totalVolume += data.first + data.second + data.third
    }

    return totalVolume
}
/**
 * Calculate the total volume of a given dataset.
 *
 * Each tuple in the dataset contains the volume measured at 3 different time points.
 * The dataset is a list of such tuples.
 *
 * @param volumeData The dataset containing volume records.
 * @return The total volume of the dataset.
 */
fun calculateTotalVolume(volumeData: List<Triple<Int, Int, Int>>): Int {
/**
 * Calculate the total volume of a given dataset.
 *
 * Each tuple in the dataset contains the volume measured at 3 different time points.
 * The dataset is a list of such tuples.
 *
 * @param volumeData The dataset containing volume records.
 * @return The total volume of the dataset.
 */
fun calculateTotalVolume(volumeData: List<Triple<Int, Int, Int>>): Int {

    var totalVolume = 0

    for (data in volumeData) {
        totalVolume += data.first + data.second + data.third
    }

    return totalVolume
}