/**
 * Farmer wants to check if there is any fruit or vegetable that is not ripe yet.
 * Return true if everything is ripe, false otherwise.
 */
fun checkHarvest(fruits: List<Map<String, Any>>, vegetables: List<Map<String, Any>>): Boolean {

    for (fruit in fruits) {
        if (!(fruit["ripe"] as Boolean)) {
            return false
        }
    }

    for (vegetable in vegetables) {
        if (!(vegetable["ripe"] as Boolean)) {
            return false
        }
    }

    return true
}
/**
 * Farmer wants to check if there is any fruit or vegetable that is not ripe yet.
 * Return true if everything is ripe, false otherwise.
 */
fun checkHarvest(fruits: List<Map<String, Any>>, vegetables: List<Map<String, Any>>): Boolean {
/**
 * Farmer wants to check if there is any fruit or vegetable that is not ripe yet.
 * Return true if everything is ripe, false otherwise.
 */
fun checkHarvest(fruits: List<Map<String, Any>>, vegetables: List<Map<String, Any>>): Boolean {

    for (fruit in fruits) {
        if (!(fruit["ripe"] as Boolean)) {
            return false
        }
    }

    for (vegetable in vegetables) {
        if (!(vegetable["ripe"] as Boolean)) {
            return false
        }
    }

    return true
}