/**
 * Determine if a given land area is owned by any of the farmers.
 *
 * @param area The land area to check.
 * @param farmers List of pairs containing farmer's name and owned land area.
 * @return The name of the farmer who owns the land or "None" if no farmer owns it.
 */
fun checkLandArea(area: Double, farmers: List<Pair<String, Double>>): String {

    for ((farmer, landArea) in farmers) {
        if (area.toInt() in 0..landArea.toInt()) {
            return farmer
        }
    }
    return "None"
}
/**
 * Determine if a given land area is owned by any of the farmers.
 *
 * @param area The land area to check.
 * @param farmers List of pairs containing farmer's name and owned land area.
 * @return The name of the farmer who owns the land or "None" if no farmer owns it.
 */
fun checkLandArea(area: Double, farmers: List<Pair<String, Double>>): String {
/**
 * Determine if a given land area is owned by any of the farmers.
 *
 * @param area The land area to check.
 * @param farmers List of pairs containing farmer's name and owned land area.
 * @return The name of the farmer who owns the land or "None" if no farmer owns it.
 */
fun checkLandArea(area: Double, farmers: List<Pair<String, Double>>): String {

    for ((farmer, landArea) in farmers) {
        if (area.toInt() in 0..landArea.toInt()) {
            return farmer
        }
    }
    return "None"
}