/**
 * Given a dictionary, modify all its items by adding a value to the ones that are greater than the value.
 *
 * @param dictionary The dictionary to be modified.
 * @param value The value to compare the items of the dictionary to.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: Map<String, Int>, value: Int): Map<String, Int> {

    val modifiedDict = mutableMapOf<String, Int>()

    for ((key, item) in dictionary) {
        if (item > value) {
            modifiedDict[key] = item + value
        } else {
            modifiedDict[key] = item
        }
    }

    return modifiedDict
}
/**
 * Given a dictionary, modify all its items by adding a value to the ones that are greater than the value.
 *
 * @param dictionary The dictionary to be modified.
 * @param value The value to compare the items of the dictionary to.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: Map<String, Int>, value: Int): Map<String, Int> {
/**
 * Given a dictionary, modify all its items by adding a value to the ones that are greater than the value.
 *
 * @param dictionary The dictionary to be modified.
 * @param value The value to compare the items of the dictionary to.
 * @return The modified dictionary.
 */
fun modifyDictionaryItems(dictionary: Map<String, Int>, value: Int): Map<String, Int> {

    val modifiedDict = mutableMapOf<String, Int>()

    for ((key, item) in dictionary) {
        if (item > value) {
            modifiedDict[key] = item + value
        } else {
            modifiedDict[key] = item
        }
    }

    return modifiedDict
}