/**
 * This function takes in the name of a firefighter and a list of tuples, where each tuple contains the name of the firefighter and their assigned station number.
 * It returns the station number of the given firefighter.
 */
fun findFirefighter(name: String, firefighters: List<Pair<String, Int>>): Int? {

    for (firefighter in firefighters) {
        if (firefighter.first == name) {
            return firefighter.second
        }
    }
    return null
}
/**
 * This function takes in the name of a firefighter and a list of tuples, where each tuple contains the name of the firefighter and their assigned station number.
 * It returns the station number of the given firefighter.
 */
fun findFirefighter(name: String, firefighters: List<Pair<String, Int>>): Int? {
/**
 * This function takes in the name of a firefighter and a list of tuples, where each tuple contains the name of the firefighter and their assigned station number.
 * It returns the station number of the given firefighter.
 */
fun findFirefighter(name: String, firefighters: List<Pair<String, Int>>): Int? {

    for (firefighter in firefighters) {
        if (firefighter.first == name) {
            return firefighter.second
        }
    }
    return null
}