/**
 * A veterinarian needs to remove all the sick animals from a given set of animals.
 *
 * Complete the function below to remove all the sick animals from the set of animals.
 *
 * @param animals A set containing the animals.
 * @param sickAnimals A set containing the sick animals.
 * @return The set of animals after removing the sick animals.
 *
 * Example:
 * val animals = mutableSetOf("dog", "cat", "elephant", "monkey")
 * val sickAnimals = setOf("cat", "elephant")
 *
 * removeSickAnimals(animals, sickAnimals) -> ["dog", "monkey"]
 */
fun removeSickAnimals(animals: MutableSet<String>, sickAnimals: Set<String>): MutableSet<String> {

    for (animal in sickAnimals) {
        if (animal in animals) {
            animals.remove(animal)
        }
    }
    return animals
}
/**
 * A veterinarian needs to remove all the sick animals from a given set of animals.
 *
 * Complete the function below to remove all the sick animals from the set of animals.
 *
 * @param animals A set containing the animals.
 * @param sickAnimals A set containing the sick animals.
 * @return The set of animals after removing the sick animals.
 *
 * Example:
 * val animals = mutableSetOf("dog", "cat", "elephant", "monkey")
 * val sickAnimals = setOf("cat", "elephant")
 *
 * removeSickAnimals(animals, sickAnimals) -> ["dog", "monkey"]
 */
fun removeSickAnimals(animals: MutableSet<String>, sickAnimals: Set<String>): MutableSet<String> {
/**
 * A veterinarian needs to remove all the sick animals from a given set of animals.
 *
 * Complete the function below to remove all the sick animals from the set of animals.
 *
 * @param animals A set containing the animals.
 * @param sickAnimals A set containing the sick animals.
 * @return The set of animals after removing the sick animals.
 *
 * Example:
 * val animals = mutableSetOf("dog", "cat", "elephant", "monkey")
 * val sickAnimals = setOf("cat", "elephant")
 *
 * removeSickAnimals(animals, sickAnimals) -> ["dog", "monkey"]
 */
fun removeSickAnimals(animals: MutableSet<String>, sickAnimals: Set<String>): MutableSet<String> {

    for (animal in sickAnimals) {
        if (animal in animals) {
            animals.remove(animal)
        }
    }
    return animals
}