/**
 * This function takes in a starting and ending range of station numbers, as well as a list of tuples containing the name of firefighters and their assigned station numbers.
 * It returns the count of firefighters whose station numbers fall within the given range.
 */
fun countFirefighters(start: Int, end: Int, firefighters: List<Pair<String, Int>>): Int {

    var count = 0
    for (firefighter in firefighters) {
        if (start <= firefighter.second && firefighter.second <= end) {
            count++
        }
    }
    return count
}
/**
 * This function takes in a starting and ending range of station numbers, as well as a list of tuples containing the name of firefighters and their assigned station numbers.
 * It returns the count of firefighters whose station numbers fall within the given range.
 */
fun countFirefighters(start: Int, end: Int, firefighters: List<Pair<String, Int>>): Int {
/**
 * This function takes in a starting and ending range of station numbers, as well as a list of tuples containing the name of firefighters and their assigned station numbers.
 * It returns the count of firefighters whose station numbers fall within the given range.
 */
fun countFirefighters(start: Int, end: Int, firefighters: List<Pair<String, Int>>): Int {

    var count = 0
    for (firefighter in firefighters) {
        if (start <= firefighter.second && firefighter.second <= end) {
            count++
        }
    }
    return count
}