/**
 * This exercise focuses on modifying elements of a list and values in a dictionary for a physician.
 * The task is to modify the age of the physician in the list and update the salary of the physician in the dictionary
 * based on the given information.
 *
 * @param physicianList A list containing the details of the physician.
 * @param physicianDict A dictionary containing the details of the physician.
 * @return A tuple containing the modified list and dictionary.
 */
fun modifyValuesInListAndDictionary(physicianList: MutableList<Any>, physicianDict: MutableMap<String, Any>): Pair<MutableList<Any>, MutableMap<String, Any>> {

    // Modify age of the physician in the list
    physicianList[1] = 40

    // Update salary of the physician in the dictionary
    physicianDict["salary"] = 150000

    return Pair(physicianList, physicianDict)
}
/**
 * This exercise focuses on modifying elements of a list and values in a dictionary for a physician.
 * The task is to modify the age of the physician in the list and update the salary of the physician in the dictionary
 * based on the given information.
 *
 * @param physicianList A list containing the details of the physician.
 * @param physicianDict A dictionary containing the details of the physician.
 * @return A tuple containing the modified list and dictionary.
 */
fun modifyValuesInListAndDictionary(physicianList: MutableList<Any>, physicianDict: MutableMap<String, Any>): Pair<MutableList<Any>, MutableMap<String, Any>> {
/**
 * This exercise focuses on modifying elements of a list and values in a dictionary for a physician.
 * The task is to modify the age of the physician in the list and update the salary of the physician in the dictionary
 * based on the given information.
 *
 * @param physicianList A list containing the details of the physician.
 * @param physicianDict A dictionary containing the details of the physician.
 * @return A tuple containing the modified list and dictionary.
 */
fun modifyValuesInListAndDictionary(physicianList: MutableList<Any>, physicianDict: MutableMap<String, Any>): Pair<MutableList<Any>, MutableMap<String, Any>> {

    // Modify age of the physician in the list
    physicianList[1] = 40

    // Update salary of the physician in the dictionary
    physicianDict["salary"] = 150000

    return Pair(physicianList, physicianDict)
}