/**
 * Given a dictionary, modify the value of a specific key by incrementing it with the given value.
 * Return the modified dictionary.
 *
 * @param dictionary The dictionary to modify.
 * @param key The key for which value needs to be modified.
 * @param value The value to increment the existing value of the key.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: MutableMap<String, Int>, key: String, value: Int): MutableMap<String, Int> {

    if (key in dictionary) {
        dictionary[key] = dictionary[key]!! + value
    }
    return dictionary
}
/**
 * Given a dictionary, modify the value of a specific key by incrementing it with the given value.
 * Return the modified dictionary.
 *
 * @param dictionary The dictionary to modify.
 * @param key The key for which value needs to be modified.
 * @param value The value to increment the existing value of the key.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: MutableMap<String, Int>, key: String, value: Int): MutableMap<String, Int> {
/**
 * Given a dictionary, modify the value of a specific key by incrementing it with the given value.
 * Return the modified dictionary.
 *
 * @param dictionary The dictionary to modify.
 * @param key The key for which value needs to be modified.
 * @param value The value to increment the existing value of the key.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: MutableMap<String, Int>, key: String, value: Int): MutableMap<String, Int> {

    if (key in dictionary) {
        dictionary[key] = dictionary[key]!! + value
    }
    return dictionary
}