/**
 * Given a map with numeric values, negates each value and returns the modified map.
 *
 * @param dictionary The map whose values need to be negated.
 * @return The modified map with negated values.
 */
fun negateValues(dictionary: Map<String, Int>): Map<String, Int> {

    return dictionary.mapValues { (_, value) -> -value }
}
/**
 * Given a map with numeric values, negates each value and returns the modified map.
 *
 * @param dictionary The map whose values need to be negated.
 * @return The modified map with negated values.
 */
fun negateValues(dictionary: Map<String, Int>): Map<String, Int> {
/**
 * Given a map with numeric values, negates each value and returns the modified map.
 *
 * @param dictionary The map whose values need to be negated.
 * @return The modified map with negated values.
 */
fun negateValues(dictionary: Map<String, Int>): Map<String, Int> {

    return dictionary.mapValues { (_, value) -> -value }
}