/**
 * Given a dictionary and a key, subtract 10 from the value associated with the given key.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key for which the value needs to be modified.
 * @return The modified dictionary.
 */
fun subtractFromDict(dictionary: MutableMap<String, Int>, key: String): MutableMap<String, Int> {

    // Check if the key exists in the dictionary
    if (dictionary.containsKey(key)) {
        // Subtract 10 from the value associated with the key
        dictionary[key] = dictionary[key]!! - 10
    }
    return dictionary
}
/**
 * Given a dictionary and a key, subtract 10 from the value associated with the given key.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key for which the value needs to be modified.
 * @return The modified dictionary.
 */
fun subtractFromDict(dictionary: MutableMap<String, Int>, key: String): MutableMap<String, Int> {
/**
 * Given a dictionary and a key, subtract 10 from the value associated with the given key.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key for which the value needs to be modified.
 * @return The modified dictionary.
 */
fun subtractFromDict(dictionary: MutableMap<String, Int>, key: String): MutableMap<String, Int> {

    // Check if the key exists in the dictionary
    if (dictionary.containsKey(key)) {
        // Subtract 10 from the value associated with the key
        dictionary[key] = dictionary[key]!! - 10
    }
    return dictionary
}