/**
 * For each assistant, print their assistance score based on their client status
 */
fun printAssistanceScores(assistants: Map<String, List<Map<String, String>>>) {

    for ((assistant, clients) in assistants) {
        val assistanceScore = clients.sumBy { client ->
            when (client["status"]) {
                "active" -> 1
                "inactive" -> -1
                else -> -2
            }
        }
        println("$assistant has an assistance score of $assistanceScore")
    }
}
/**
 * For each assistant, print their assistance score based on their client status
 */
fun printAssistanceScores(assistants: Map<String, List<Map<String, String>>>) {
/**
 * For each assistant, print their assistance score based on their client status
 */
fun printAssistanceScores(assistants: Map<String, List<Map<String, String>>>) {

    for ((assistant, clients) in assistants) {
        val assistanceScore = clients.sumBy { client ->
            when (client["status"]) {
                "active" -> 1
                "inactive" -> -1
                else -> -2
            }
        }
        println("$assistant has an assistance score of $assistanceScore")
    }
}