/**
 * This function creates a list of shifts for police officers for a given number of days.
 *
 * @param officers List of police officers' names.
 * @param days Number of days for which shifts need to be created.
 * @return Nested list representing shifts for each officer on each day.
 */
fun createShifts(officers: List<String>, days: Int): List<List<Pair<Int, String>>> {

    val shifts = mutableListOf<List<Pair<Int, String>>>()
    for (day in 1..days) {
        val dailyShifts = mutableListOf<Pair<Int, String>>()
        for (officer in officers) {
            // Add code here to create a shift for each officer on each day
            // Each shift should be represented as a Pair(day, officerName)
            // e.g., Pair(1, "Officer A")
            dailyShifts.add(Pair(day, officer))
        }
        shifts.add(dailyShifts)
    }
    return shifts
}
/**
 * This function creates a list of shifts for police officers for a given number of days.
 *
 * @param officers List of police officers' names.
 * @param days Number of days for which shifts need to be created.
 * @return Nested list representing shifts for each officer on each day.
 */
fun createShifts(officers: List<String>, days: Int): List<List<Pair<Int, String>>> {
/**
 * This function creates a list of shifts for police officers for a given number of days.
 *
 * @param officers List of police officers' names.
 * @param days Number of days for which shifts need to be created.
 * @return Nested list representing shifts for each officer on each day.
 */
fun createShifts(officers: List<String>, days: Int): List<List<Pair<Int, String>>> {

    val shifts = mutableListOf<List<Pair<Int, String>>>()
    for (day in 1..days) {
        val dailyShifts = mutableListOf<Pair<Int, String>>()
        for (officer in officers) {
            // Add code here to create a shift for each officer on each day
            // Each shift should be represented as a Pair(day, officerName)
            // e.g., Pair(1, "Officer A")
            dailyShifts.add(Pair(day, officer))
        }
        shifts.add(dailyShifts)
    }
    return shifts
}