/**
 * Given a nurse's work schedule on different days, return a list of nurses who are working on the specified day.
 *
 * @param schedule A map with days as keys and a list of nurses as values.
 * @param day The specified day for which nurse details are required.
 * @return A list of nurses working on the specified day.
 *
 * Example:
 * val schedule = mapOf("Monday" to listOf("Nurse A", "Nurse B", "Nurse C"), "Tuesday" to listOf("Nurse A", "Nurse D"))
 * nurseWorkSchedule(schedule, "Monday") // Output: ["Nurse A", "Nurse B", "Nurse C"]
 * nurseWorkSchedule(schedule, "Tuesday") // Output: ["Nurse A", "Nurse D"]
 */
fun nurseWorkSchedule(schedule: Map<String, List<String>>, day: String): List<String> {

    return schedule[day] ?: emptyList()
}
/**
 * Given a nurse's work schedule on different days, return a list of nurses who are working on the specified day.
 *
 * @param schedule A map with days as keys and a list of nurses as values.
 * @param day The specified day for which nurse details are required.
 * @return A list of nurses working on the specified day.
 *
 * Example:
 * val schedule = mapOf("Monday" to listOf("Nurse A", "Nurse B", "Nurse C"), "Tuesday" to listOf("Nurse A", "Nurse D"))
 * nurseWorkSchedule(schedule, "Monday") // Output: ["Nurse A", "Nurse B", "Nurse C"]
 * nurseWorkSchedule(schedule, "Tuesday") // Output: ["Nurse A", "Nurse D"]
 */
fun nurseWorkSchedule(schedule: Map<String, List<String>>, day: String): List<String> {
/**
 * Given a nurse's work schedule on different days, return a list of nurses who are working on the specified day.
 *
 * @param schedule A map with days as keys and a list of nurses as values.
 * @param day The specified day for which nurse details are required.
 * @return A list of nurses working on the specified day.
 *
 * Example:
 * val schedule = mapOf("Monday" to listOf("Nurse A", "Nurse B", "Nurse C"), "Tuesday" to listOf("Nurse A", "Nurse D"))
 * nurseWorkSchedule(schedule, "Monday") // Output: ["Nurse A", "Nurse B", "Nurse C"]
 * nurseWorkSchedule(schedule, "Tuesday") // Output: ["Nurse A", "Nurse D"]
 */
fun nurseWorkSchedule(schedule: Map<String, List<String>>, day: String): List<String> {

    return schedule[day] ?: emptyList()
}