/**
 * Find active firefighters from the given list of firefighters.
 *
 * @param firefighters List of maps containing information about firefighters.
 * @return List of active firefighters.
 */
fun findActiveFirefighters(firefighters: List<Map<String, String>>): List<Map<String, String>> {

    return firefighters.filter { it["status"] == "active" }
}
/**
 * Find active firefighters from the given list of firefighters.
 *
 * @param firefighters List of maps containing information about firefighters.
 * @return List of active firefighters.
 */
fun findActiveFirefighters(firefighters: List<Map<String, String>>): List<Map<String, String>> {
/**
 * Find active firefighters from the given list of firefighters.
 *
 * @param firefighters List of maps containing information about firefighters.
 * @return List of active firefighters.
 */
fun findActiveFirefighters(firefighters: List<Map<String, String>>): List<Map<String, String>> {

    return firefighters.filter { it["status"] == "active" }
}