/**
 * Given a tuple representing a Nurse's shift schedule and an index, return the sliced tuple starting from the
 * specified index onwards.
 *
 * @param nurse A tuple representing the Nurse's shift schedule.
 * @param index The starting index for slicing the tuple.
 * @return The sliced tuple starting from the specified index onwards.
 *
 * Example:
 * input:
 * nurse = listOf("Day", "Night", "Day", "Day", "Night", "Night")
 * index = 2
 * output:
 * listOf("Day", "Night", "Night")
 */
fun indexingAndSlicingTuples(nurse: List<String>, index: Int): List<String> {

    return nurse.subList(index, nurse.size)
}
/**
 * Given a tuple representing a Nurse's shift schedule and an index, return the sliced tuple starting from the
 * specified index onwards.
 *
 * @param nurse A tuple representing the Nurse's shift schedule.
 * @param index The starting index for slicing the tuple.
 * @return The sliced tuple starting from the specified index onwards.
 *
 * Example:
 * input:
 * nurse = listOf("Day", "Night", "Day", "Day", "Night", "Night")
 * index = 2
 * output:
 * listOf("Day", "Night", "Night")
 */
fun indexingAndSlicingTuples(nurse: List<String>, index: Int): List<String> {
/**
 * Given a tuple representing a Nurse's shift schedule and an index, return the sliced tuple starting from the
 * specified index onwards.
 *
 * @param nurse A tuple representing the Nurse's shift schedule.
 * @param index The starting index for slicing the tuple.
 * @return The sliced tuple starting from the specified index onwards.
 *
 * Example:
 * input:
 * nurse = listOf("Day", "Night", "Day", "Day", "Night", "Night")
 * index = 2
 * output:
 * listOf("Day", "Night", "Night")
 */
fun indexingAndSlicingTuples(nurse: List<String>, index: Int): List<String> {

    return nurse.subList(index, nurse.size)
}