/**
 * A farmer keeps track of the number of eggs and liters of milk produced every day in a tuple.
 * The function 'getEggsAndMilk' takes the farmer's record and returns the total number of eggs and liters of milk produced.
 *
 * @param farmer A tuple containing the number of eggs produced and the liters of milk produced.
 * @return A tuple containing the total number of eggs and liters of milk produced.
 *
 * Example:
 * getEggsAndMilk(Pair(10, 5))  =>  Pair(10, 5)
 */
fun getEggsAndMilk(farmer: Pair<Int, Int>): Pair<Int, Int> {

    val totalEggs = farmer.first
    val totalMilk = farmer.second

    return Pair(totalEggs, totalMilk)
}
/**
 * A farmer keeps track of the number of eggs and liters of milk produced every day in a tuple.
 * The function 'getEggsAndMilk' takes the farmer's record and returns the total number of eggs and liters of milk produced.
 *
 * @param farmer A tuple containing the number of eggs produced and the liters of milk produced.
 * @return A tuple containing the total number of eggs and liters of milk produced.
 *
 * Example:
 * getEggsAndMilk(Pair(10, 5))  =>  Pair(10, 5)
 */
fun getEggsAndMilk(farmer: Pair<Int, Int>): Pair<Int, Int> {
/**
 * A farmer keeps track of the number of eggs and liters of milk produced every day in a tuple.
 * The function 'getEggsAndMilk' takes the farmer's record and returns the total number of eggs and liters of milk produced.
 *
 * @param farmer A tuple containing the number of eggs produced and the liters of milk produced.
 * @return A tuple containing the total number of eggs and liters of milk produced.
 *
 * Example:
 * getEggsAndMilk(Pair(10, 5))  =>  Pair(10, 5)
 */
fun getEggsAndMilk(farmer: Pair<Int, Int>): Pair<Int, Int> {

    val totalEggs = farmer.first
    val totalMilk = farmer.second

    return Pair(totalEggs, totalMilk)
}