/**
 * Calculate and return the total area of all the given buildings.
 *
 * @param buildings A list of dictionaries representing multiple buildings.
 *                  Each dictionary should have 'length' and 'width' keys.
 * @return The total area of all the buildings.
 */
fun calculateTotalAreaOfBuildings(buildings: List<Map<String, Int>>): Int {

    var totalArea = 0
    for (building in buildings) {
        val area = building["length"]!! * building["width"]!!
        totalArea += area
    }
    return totalArea
}
/**
 * Calculate and return the total area of all the given buildings.
 *
 * @param buildings A list of dictionaries representing multiple buildings.
 *                  Each dictionary should have 'length' and 'width' keys.
 * @return The total area of all the buildings.
 */
fun calculateTotalAreaOfBuildings(buildings: List<Map<String, Int>>): Int {
/**
 * Calculate and return the total area of all the given buildings.
 *
 * @param buildings A list of dictionaries representing multiple buildings.
 *                  Each dictionary should have 'length' and 'width' keys.
 * @return The total area of all the buildings.
 */
fun calculateTotalAreaOfBuildings(buildings: List<Map<String, Int>>): Int {

    var totalArea = 0
    for (building in buildings) {
        val area = building["length"]!! * building["width"]!!
        totalArea += area
    }
    return totalArea
}