/**
 * This function takes in the income and expenses of an accountant and calculates the total expenses.
 *
 * @param income The total income of the accountant.
 * @param expenses A map containing the different types of expenses as keys, and their corresponding amounts as values.
 * @return The total expenses of the accountant.
 */
fun calculateExpenses(income: Int, expenses: Map<String, Int>): Int {

    var totalExpenses = 0

    for ((_, expenseAmount) in expenses) {
        totalExpenses += expenseAmount
    }

    return totalExpenses
}
/**
 * This function takes in the income and expenses of an accountant and calculates the total expenses.
 *
 * @param income The total income of the accountant.
 * @param expenses A map containing the different types of expenses as keys, and their corresponding amounts as values.
 * @return The total expenses of the accountant.
 */
fun calculateExpenses(income: Int, expenses: Map<String, Int>): Int {
/**
 * This function takes in the income and expenses of an accountant and calculates the total expenses.
 *
 * @param income The total income of the accountant.
 * @param expenses A map containing the different types of expenses as keys, and their corresponding amounts as values.
 * @return The total expenses of the accountant.
 */
fun calculateExpenses(income: Int, expenses: Map<String, Int>): Int {

    var totalExpenses = 0

    for ((_, expenseAmount) in expenses) {
        totalExpenses += expenseAmount
    }

    return totalExpenses
}