/**
 * Given a dictionary of architects and their information, 
 * write a function that returns the list of architects whose name starts with the letter 'A' and have more than 5 projects.
 *
 * @param architects A dictionary mapping architect names to their respective information.
 * @return A list of architect names.
 *
 * Example:
 * val architects = mapOf(
 *     "John Smith" to mapOf("Projects" to 10, "Experience" to "15 years"),
 *     "Amy Adams" to mapOf("Projects" to 3, "Experience" to "5 years"),
 *     "Robert Johnson" to mapOf("Projects" to 7, "Experience" to "10 years"),
 *     "Alice Anderson" to mapOf("Projects" to 6, "Experience" to "8 years")
 * )
 *
 * architectInfo(architects) => ['Alice Anderson']
 */
fun architectInfo(architects: Map<String, Map<String, Any>>): List<String> {

    val architectsWith5Projects = mutableListOf<String>()
    for ((name, info) in architects) {
        if (name.startsWith("A") && info["Projects"] as Int > 5) {
            architectsWith5Projects.add(name)
        }
    }
    return architectsWith5Projects
}
/**
 * Given a dictionary of architects and their information, 
 * write a function that returns the list of architects whose name starts with the letter 'A' and have more than 5 projects.
 *
 * @param architects A dictionary mapping architect names to their respective information.
 * @return A list of architect names.
 *
 * Example:
 * val architects = mapOf(
 *     "John Smith" to mapOf("Projects" to 10, "Experience" to "15 years"),
 *     "Amy Adams" to mapOf("Projects" to 3, "Experience" to "5 years"),
 *     "Robert Johnson" to mapOf("Projects" to 7, "Experience" to "10 years"),
 *     "Alice Anderson" to mapOf("Projects" to 6, "Experience" to "8 years")
 * )
 *
 * architectInfo(architects) => ['Alice Anderson']
 */
fun architectInfo(architects: Map<String, Map<String, Any>>): List<String> {
/**
 * Given a dictionary of architects and their information, 
 * write a function that returns the list of architects whose name starts with the letter 'A' and have more than 5 projects.
 *
 * @param architects A dictionary mapping architect names to their respective information.
 * @return A list of architect names.
 *
 * Example:
 * val architects = mapOf(
 *     "John Smith" to mapOf("Projects" to 10, "Experience" to "15 years"),
 *     "Amy Adams" to mapOf("Projects" to 3, "Experience" to "5 years"),
 *     "Robert Johnson" to mapOf("Projects" to 7, "Experience" to "10 years"),
 *     "Alice Anderson" to mapOf("Projects" to 6, "Experience" to "8 years")
 * )
 *
 * architectInfo(architects) => ['Alice Anderson']
 */
fun architectInfo(architects: Map<String, Map<String, Any>>): List<String> {

    val architectsWith5Projects = mutableListOf<String>()
    for ((name, info) in architects) {
        if (name.startsWith("A") && info["Projects"] as Int > 5) {
            architectsWith5Projects.add(name)
        }
    }
    return architectsWith5Projects
}