/**
 * Aerospace Engineer is tasked with finding the engine type of planes in a dictionary.
 * The code should iterate through the dictionary and return the first plane with the specified engine type.
 * If no plane with the specified engine type is found, it should return 'Unknown'.
 */
fun findEngineType(planes: Map<String, Map<String, String>>): String {

    val engineType = "Turbofan"

    for ((plane, attributes) in planes) {
        if (attributes["engine_type"] == engineType) {
            return plane
        }
    }

    return "Unknown"
}
/**
 * Aerospace Engineer is tasked with finding the engine type of planes in a dictionary.
 * The code should iterate through the dictionary and return the first plane with the specified engine type.
 * If no plane with the specified engine type is found, it should return 'Unknown'.
 */
fun findEngineType(planes: Map<String, Map<String, String>>): String {
/**
 * Aerospace Engineer is tasked with finding the engine type of planes in a dictionary.
 * The code should iterate through the dictionary and return the first plane with the specified engine type.
 * If no plane with the specified engine type is found, it should return 'Unknown'.
 */
fun findEngineType(planes: Map<String, Map<String, String>>): String {

    val engineType = "Turbofan"

    for ((plane, attributes) in planes) {
        if (attributes["engine_type"] == engineType) {
            return plane
        }
    }

    return "Unknown"
}