/**
 * Given a dictionary of photographers and their information and a name,
 * return the information of the photographer with the matching name.
 *
 * @param photographerDict A dictionary containing the information of photographers.
 * @param name The name of the photographer to search for.
 * @return A dictionary containing the information of the photographer with the matching name.
 *
 * Examples:
 * photographers = mapOf(
 *     "John Smith" to mapOf("age" to 35, "location" to "New York"),
 *     "Emma Johnson" to mapOf("age" to 28, "location" to "London"),
 *     "Peter Brown" to mapOf("age" to 42, "location" to "Paris")
 * )
 * getPhotographerInfo(photographers, "Emma Johnson") // Output: mapOf("age" to 28, "location" to "London")
 */
fun getPhotographerInfo(photographerDict: Map<String, Map<String, Any>>, name: String): Map<String, Any> {

    return photographerDict[name] ?: emptyMap()
}
/**
 * Given a dictionary of photographers and their information and a name,
 * return the information of the photographer with the matching name.
 *
 * @param photographerDict A dictionary containing the information of photographers.
 * @param name The name of the photographer to search for.
 * @return A dictionary containing the information of the photographer with the matching name.
 *
 * Examples:
 * photographers = mapOf(
 *     "John Smith" to mapOf("age" to 35, "location" to "New York"),
 *     "Emma Johnson" to mapOf("age" to 28, "location" to "London"),
 *     "Peter Brown" to mapOf("age" to 42, "location" to "Paris")
 * )
 * getPhotographerInfo(photographers, "Emma Johnson") // Output: mapOf("age" to 28, "location" to "London")
 */
fun getPhotographerInfo(photographerDict: Map<String, Map<String, Any>>, name: String): Map<String, Any> {
/**
 * Given a dictionary of photographers and their information and a name,
 * return the information of the photographer with the matching name.
 *
 * @param photographerDict A dictionary containing the information of photographers.
 * @param name The name of the photographer to search for.
 * @return A dictionary containing the information of the photographer with the matching name.
 *
 * Examples:
 * photographers = mapOf(
 *     "John Smith" to mapOf("age" to 35, "location" to "New York"),
 *     "Emma Johnson" to mapOf("age" to 28, "location" to "London"),
 *     "Peter Brown" to mapOf("age" to 42, "location" to "Paris")
 * )
 * getPhotographerInfo(photographers, "Emma Johnson") // Output: mapOf("age" to 28, "location" to "London")
 */
fun getPhotographerInfo(photographerDict: Map<String, Map<String, Any>>, name: String): Map<String, Any> {

    return photographerDict[name] ?: emptyMap()
}