/**
 * Given a dictionary, a list of keys, and a list of new values,
 * modify the values of the specified keys in the dictionary.
 *
 * @param dictionary The dictionary to be modified.
 * @param keys A list of keys to modify.
 * @param newValues A list of new values corresponding to the keys.
 * @return The modified dictionary.
 */
fun modifyDictValues(dictionary: MutableMap<String, Any>, keys: List<String>, newValues: List<Any>): MutableMap<String, Any> {

    for ((key, value) in dictionary) {
        if (key in keys) {
            val index = keys.indexOf(key)
            dictionary[key] = newValues[index]
        }
    }
    return dictionary
}
/**
 * Given a dictionary, a list of keys, and a list of new values,
 * modify the values of the specified keys in the dictionary.
 *
 * @param dictionary The dictionary to be modified.
 * @param keys A list of keys to modify.
 * @param newValues A list of new values corresponding to the keys.
 * @return The modified dictionary.
 */
fun modifyDictValues(dictionary: MutableMap<String, Any>, keys: List<String>, newValues: List<Any>): MutableMap<String, Any> {
/**
 * Given a dictionary, a list of keys, and a list of new values,
 * modify the values of the specified keys in the dictionary.
 *
 * @param dictionary The dictionary to be modified.
 * @param keys A list of keys to modify.
 * @param newValues A list of new values corresponding to the keys.
 * @return The modified dictionary.
 */
fun modifyDictValues(dictionary: MutableMap<String, Any>, keys: List<String>, newValues: List<Any>): MutableMap<String, Any> {

    for ((key, value) in dictionary) {
        if (key in keys) {
            val index = keys.indexOf(key)
            dictionary[key] = newValues[index]
        }
    }
    return dictionary
}