/**
 * A Police Officer needs to retrieve the details of a criminal based on its location.
 *
 * Given the location, the function should return the details of the criminal.
 *
 * @param location The name of the location where the criminal is located.
 * @return A dictionary containing the details of the criminal (e.g., name, age, etc.).
 */
fun getCriminal(location: String): Map<String, Any>? {

    if (location == "Location A") {
        return mapOf("name" to "John Doe", "age" to 35, "crimes" to listOf("Robbery", "Assault"))
    }
    return null
}
/**
 * A Police Officer needs to retrieve the details of a criminal based on its location.
 *
 * Given the location, the function should return the details of the criminal.
 *
 * @param location The name of the location where the criminal is located.
 * @return A dictionary containing the details of the criminal (e.g., name, age, etc.).
 */
fun getCriminal(location: String): Map<String, Any>? {
/**
 * A Police Officer needs to retrieve the details of a criminal based on its location.
 *
 * Given the location, the function should return the details of the criminal.
 *
 * @param location The name of the location where the criminal is located.
 * @return A dictionary containing the details of the criminal (e.g., name, age, etc.).
 */
fun getCriminal(location: String): Map<String, Any>? {

    if (location == "Location A") {
        return mapOf("name" to "John Doe", "age" to 35, "crimes" to listOf("Robbery", "Assault"))
    }
    return null
}