/**
 * Modify the given nurse data where each nurse's first name will be capitalized
 * and their years of experience will be incremented by 5.
 *
 * @param nurseData A list containing dictionaries of nurse information.
 * @return A modified dictionary with capitalized first names and incremented years of experience.
 */
fun modifyNurseData(nurseData: List<Map<String, Any>>): Map<String, Int> {

    return nurseData.associate {
        it["name"].toString().split(" ")[0].capitalize() to (it["experience"] as Int + 5)
    }
}
/**
 * Modify the given nurse data where each nurse's first name will be capitalized
 * and their years of experience will be incremented by 5.
 *
 * @param nurseData A list containing dictionaries of nurse information.
 * @return A modified dictionary with capitalized first names and incremented years of experience.
 */
fun modifyNurseData(nurseData: List<Map<String, Any>>): Map<String, Int> {
/**
 * Modify the given nurse data where each nurse's first name will be capitalized
 * and their years of experience will be incremented by 5.
 *
 * @param nurseData A list containing dictionaries of nurse information.
 * @return A modified dictionary with capitalized first names and incremented years of experience.
 */
fun modifyNurseData(nurseData: List<Map<String, Any>>): Map<String, Int> {

    return nurseData.associate {
        it["name"].toString().split(" ")[0].capitalize() to (it["experience"] as Int + 5)
    }
}