/**
 * As a social worker, you have two lists:
 * - unemployed: a list of clients who are currently unemployed
 * - problemClients: a list of clients who are causing problems
 *
 * You want to remove the clients who are both unemployed and causing problems, and return the updated list
 * of unemployed clients.
 *
 * Use the 'in' operator and the 'removeAll' function to delete such clients from the list.
 *
 * @param unemployed List of unemployed clients
 * @param problemClients List of problem clients
 * @return Updated list of unemployed clients after removing those causing problems
 */
fun removeClients(unemployed: MutableList<String>, problemClients: List<String>): List<String> {

    // Find and remove the clients who are both unemployed and causing problems
    unemployed.removeAll { it in problemClients }
    return unemployed
}
/**
 * As a social worker, you have two lists:
 * - unemployed: a list of clients who are currently unemployed
 * - problemClients: a list of clients who are causing problems
 *
 * You want to remove the clients who are both unemployed and causing problems, and return the updated list
 * of unemployed clients.
 *
 * Use the 'in' operator and the 'removeAll' function to delete such clients from the list.
 *
 * @param unemployed List of unemployed clients
 * @param problemClients List of problem clients
 * @return Updated list of unemployed clients after removing those causing problems
 */
fun removeClients(unemployed: MutableList<String>, problemClients: List<String>): List<String> {
/**
 * As a social worker, you have two lists:
 * - unemployed: a list of clients who are currently unemployed
 * - problemClients: a list of clients who are causing problems
 *
 * You want to remove the clients who are both unemployed and causing problems, and return the updated list
 * of unemployed clients.
 *
 * Use the 'in' operator and the 'removeAll' function to delete such clients from the list.
 *
 * @param unemployed List of unemployed clients
 * @param problemClients List of problem clients
 * @return Updated list of unemployed clients after removing those causing problems
 */
fun removeClients(unemployed: MutableList<String>, problemClients: List<String>): List<String> {

    // Find and remove the clients who are both unemployed and causing problems
    unemployed.removeAll { it in problemClients }
    return unemployed
}