/**
 * This function takes a firefighter list, an index, and a value, and modifies the value at the given index in the list.
 */
fun modifyList(firefighter: MutableList<String>, index: Int, value: String): MutableList<String> {

    // Modifying the value at the given index in the firefighter list
    firefighter[index] = value

    // Return the modified firefighter list
    return firefighter
}
/**
 * This function takes a firefighter list, an index, and a value, and modifies the value at the given index in the list.
 */
fun modifyList(firefighter: MutableList<String>, index: Int, value: String): MutableList<String> {
/**
 * This function takes a firefighter list, an index, and a value, and modifies the value at the given index in the list.
 */
fun modifyList(firefighter: MutableList<String>, index: Int, value: String): MutableList<String> {

    // Modifying the value at the given index in the firefighter list
    firefighter[index] = value

    // Return the modified firefighter list
    return firefighter
}