/**
 * This function takes a dictionary of architectural projects as input and returns the total number 
 * of architects involved in all the projects.
 *
 * @param projects A nested dictionary representing the architectural projects with the number of architects involved.
 * @return The total number of architects involved in all the projects.
 */
fun architectName(projects: Map<String, Map<String, Int>?>): Int {

    var totalArchitects = 0

    for (project in projects.values) {
        for (architects in project?.values ?: emptyList()) {
            architects?.let {
                totalArchitects += it
            }
        }
    }

    return totalArchitects
}
/**
 * This function takes a dictionary of architectural projects as input and returns the total number 
 * of architects involved in all the projects.
 *
 * @param projects A nested dictionary representing the architectural projects with the number of architects involved.
 * @return The total number of architects involved in all the projects.
 */
fun architectName(projects: Map<String, Map<String, Int>?>): Int {
/**
 * This function takes a dictionary of architectural projects as input and returns the total number 
 * of architects involved in all the projects.
 *
 * @param projects A nested dictionary representing the architectural projects with the number of architects involved.
 * @return The total number of architects involved in all the projects.
 */
fun architectName(projects: Map<String, Map<String, Int>?>): Int {

    var totalArchitects = 0

    for (project in projects.values) {
        for (architects in project?.values ?: emptyList()) {
            architects?.let {
                totalArchitects += it
            }
        }
    }

    return totalArchitects
}