/**
 * This function finds the social worker who has the most clients registered and returns their name.
 *
 * @param clients A dictionary containing social workers' names as keys and the number of clients they have as values.
 * @return The name of the social worker with the most clients.
 */
fun findSocialWorker(clients: Map<String, Int>): String {

    var maxClients = 0
    var socialWorker = ""

    for ((worker, numClients) in clients) {
        if (numClients > maxClients) {
            socialWorker = worker
            maxClients = numClients
        }
    }

    return socialWorker
}
/**
 * This function finds the social worker who has the most clients registered and returns their name.
 *
 * @param clients A dictionary containing social workers' names as keys and the number of clients they have as values.
 * @return The name of the social worker with the most clients.
 */
fun findSocialWorker(clients: Map<String, Int>): String {
/**
 * This function finds the social worker who has the most clients registered and returns their name.
 *
 * @param clients A dictionary containing social workers' names as keys and the number of clients they have as values.
 * @return The name of the social worker with the most clients.
 */
fun findSocialWorker(clients: Map<String, Int>): String {

    var maxClients = 0
    var socialWorker = ""

    for ((worker, numClients) in clients) {
        if (numClients > maxClients) {
            socialWorker = worker
            maxClients = numClients
        }
    }

    return socialWorker
}