/**
 * Create a new tuple of ages by extracting the ages of the farmers.
 */
fun getAges(farmer1: Pair<String, Int>, farmer2: Pair<String, Int>, farmer3: Pair<String, Int>): Triple<Int, Int, Int> {

    // Get the ages from individual farmers
    val age1 = farmer1.second
    val age2 = farmer2.second
    val age3 = farmer3.second

    // Create a new tuple of ages
    return Triple(age1, age2, age3)
}
/**
 * Create a new tuple of ages by extracting the ages of the farmers.
 */
fun getAges(farmer1: Pair<String, Int>, farmer2: Pair<String, Int>, farmer3: Pair<String, Int>): Triple<Int, Int, Int> {
/**
 * Create a new tuple of ages by extracting the ages of the farmers.
 */
fun getAges(farmer1: Pair<String, Int>, farmer2: Pair<String, Int>, farmer3: Pair<String, Int>): Triple<Int, Int, Int> {

    // Get the ages from individual farmers
    val age1 = farmer1.second
    val age2 = farmer2.second
    val age3 = farmer3.second

    // Create a new tuple of ages
    return Triple(age1, age2, age3)
}