/**
 * Write a function to check if the population of each city in a given dataset is greater than or equal to a specific value.
 *
 * @param populationData A map mapping city names to their respective populations.
 * @return True if all cities have a population greater than or equal to the specified value, False otherwise.
 */
fun checkPopulation(populationData: Map<String, Int>): Boolean {

    val minPopulation = 100000 // Define the minimum population threshold

    // Iterate through each city in the population data
    for ((city, population) in populationData) {
        if (population < minPopulation) {
            return false
        }
    }
    
    return true
}
/**
 * Write a function to check if the population of each city in a given dataset is greater than or equal to a specific value.
 *
 * @param populationData A map mapping city names to their respective populations.
 * @return True if all cities have a population greater than or equal to the specified value, False otherwise.
 */
fun checkPopulation(populationData: Map<String, Int>): Boolean {
/**
 * Write a function to check if the population of each city in a given dataset is greater than or equal to a specific value.
 *
 * @param populationData A map mapping city names to their respective populations.
 * @return True if all cities have a population greater than or equal to the specified value, False otherwise.
 */
fun checkPopulation(populationData: Map<String, Int>): Boolean {

    val minPopulation = 100000 // Define the minimum population threshold

    // Iterate through each city in the population data
    for ((city, population) in populationData) {
        if (population < minPopulation) {
            return false
        }
    }
    
    return true
}