/**
 * Given a dictionary representing the population of different species in a certain area,
 * calculate the total population of all the species combined.
 *
 * @param speciesPopulation A dictionary where the keys represent the species and
 *                         the values represent the population of each species.
 * @return The total population of all the species combined.
 */
fun calculateTotalSpeciesPopulation(speciesPopulation: Map<String, Int>): Int {

    var totalPopulation = 0
    for (population in speciesPopulation.values) {
        totalPopulation += population
    }
    return totalPopulation
}
/**
 * Given a dictionary representing the population of different species in a certain area,
 * calculate the total population of all the species combined.
 *
 * @param speciesPopulation A dictionary where the keys represent the species and
 *                         the values represent the population of each species.
 * @return The total population of all the species combined.
 */
fun calculateTotalSpeciesPopulation(speciesPopulation: Map<String, Int>): Int {
/**
 * Given a dictionary representing the population of different species in a certain area,
 * calculate the total population of all the species combined.
 *
 * @param speciesPopulation A dictionary where the keys represent the species and
 *                         the values represent the population of each species.
 * @return The total population of all the species combined.
 */
fun calculateTotalSpeciesPopulation(speciesPopulation: Map<String, Int>): Int {

    var totalPopulation = 0
    for (population in speciesPopulation.values) {
        totalPopulation += population
    }
    return totalPopulation
}