/**
 * Divide each player's score by a given value and update the dictionary with the new scores.
 *
 * @param playerScores A dictionary containing player names as keys and their corresponding scores as values.
 * @param divValue The value by which each score will be divided.
 * @return The dictionary with updated player scores after division.
 */
fun divideScores(playerScores: MutableMap<String, Int>, divValue: Int): MutableMap<String, Int> {

    for ((player, score) in playerScores) {
        playerScores[player] = score / divValue
    }
    return playerScores
}

// Example usage
/**
 * Divide each player's score by a given value and update the dictionary with the new scores.
 *
 * @param playerScores A dictionary containing player names as keys and their corresponding scores as values.
 * @param divValue The value by which each score will be divided.
 * @return The dictionary with updated player scores after division.
 */
fun divideScores(playerScores: MutableMap<String, Int>, divValue: Int): MutableMap<String, Int> {
/**
 * Divide each player's score by a given value and update the dictionary with the new scores.
 *
 * @param playerScores A dictionary containing player names as keys and their corresponding scores as values.
 * @param divValue The value by which each score will be divided.
 * @return The dictionary with updated player scores after division.
 */
fun divideScores(playerScores: MutableMap<String, Int>, divValue: Int): MutableMap<String, Int> {

    for ((player, score) in playerScores) {
        playerScores[player] = score / divValue
    }
    return playerScores
}

// Example usage