/**
 * Given a list of police cadets and a set of new graduates, update the roster by appending the new graduates to the cadets list.
 *
 * @param cadets A list of police cadets.
 * @param newGraduates A set of new graduate cadets.
 * @return The updated roster consisting of cadets and new graduates.
 */
fun updateRoster(cadets: MutableList<String>, newGraduates: Set<String>): List<String> {

    cadets.addAll(newGraduates)
    return cadets
}
/**
 * Given a list of police cadets and a set of new graduates, update the roster by appending the new graduates to the cadets list.
 *
 * @param cadets A list of police cadets.
 * @param newGraduates A set of new graduate cadets.
 * @return The updated roster consisting of cadets and new graduates.
 */
fun updateRoster(cadets: MutableList<String>, newGraduates: Set<String>): List<String> {
/**
 * Given a list of police cadets and a set of new graduates, update the roster by appending the new graduates to the cadets list.
 *
 * @param cadets A list of police cadets.
 * @param newGraduates A set of new graduate cadets.
 * @return The updated roster consisting of cadets and new graduates.
 */
fun updateRoster(cadets: MutableList<String>, newGraduates: Set<String>): List<String> {

    cadets.addAll(newGraduates)
    return cadets
}