/**
 * This function updates the list of firefighting equipment with new additions.
 *
 * @param equipment A list of existing firefighting equipment.
 * @param newEquipment A list of new firefighting equipment to be added.
 * @return A combined list of existing and new firefighting equipment.
 *
 * Example:
 * val oldEquipment = listOf("Fire hose", "Fire extinguisher", "Fire helmet", "Ladder")
 * val newItems = listOf("Breathing apparatus", "Axe", "Hydrant key")
 * updateFirefightingEquipment(oldEquipment, newItems)
 * // Output: ['Fire hose', 'Fire extinguisher', 'Fire helmet', 'Ladder', 'Breathing apparatus', 'Axe', 'Hydrant key']
 */
fun updateFirefightingEquipment(equipment: List<String>, newEquipment: List<String>): List<String> {

    // Merge the existing equipment list with new equipment list
    val updatedEquipment = equipment + newEquipment

    // Return the updated equipment list
    return updatedEquipment
}
/**
 * This function updates the list of firefighting equipment with new additions.
 *
 * @param equipment A list of existing firefighting equipment.
 * @param newEquipment A list of new firefighting equipment to be added.
 * @return A combined list of existing and new firefighting equipment.
 *
 * Example:
 * val oldEquipment = listOf("Fire hose", "Fire extinguisher", "Fire helmet", "Ladder")
 * val newItems = listOf("Breathing apparatus", "Axe", "Hydrant key")
 * updateFirefightingEquipment(oldEquipment, newItems)
 * // Output: ['Fire hose', 'Fire extinguisher', 'Fire helmet', 'Ladder', 'Breathing apparatus', 'Axe', 'Hydrant key']
 */
fun updateFirefightingEquipment(equipment: List<String>, newEquipment: List<String>): List<String> {
/**
 * This function updates the list of firefighting equipment with new additions.
 *
 * @param equipment A list of existing firefighting equipment.
 * @param newEquipment A list of new firefighting equipment to be added.
 * @return A combined list of existing and new firefighting equipment.
 *
 * Example:
 * val oldEquipment = listOf("Fire hose", "Fire extinguisher", "Fire helmet", "Ladder")
 * val newItems = listOf("Breathing apparatus", "Axe", "Hydrant key")
 * updateFirefightingEquipment(oldEquipment, newItems)
 * // Output: ['Fire hose', 'Fire extinguisher', 'Fire helmet', 'Ladder', 'Breathing apparatus', 'Axe', 'Hydrant key']
 */
fun updateFirefightingEquipment(equipment: List<String>, newEquipment: List<String>): List<String> {

    // Merge the existing equipment list with new equipment list
    val updatedEquipment = equipment + newEquipment

    // Return the updated equipment list
    return updatedEquipment
}