/**
 * Given three sets - 'pets', 'animals', and 'patients', return the set of pets that are both animals and patients.
 *
 * @param pets A set containing all the pets.
 * @param animals A set containing all the animals.
 * @param patients A set containing all the patients.
 * @return A set containing the pets that are both animals and patients.
 */
fun setConversionVeterinarian(pets: Set<String>, animals: Set<String>, patients: Set<String>): Set<String> {

    // Intersection of 'pets', 'animals', and 'patients'
    val intersectionSet = pets.intersect(animals).intersect(patients)

    return intersectionSet
}
/**
 * Given three sets - 'pets', 'animals', and 'patients', return the set of pets that are both animals and patients.
 *
 * @param pets A set containing all the pets.
 * @param animals A set containing all the animals.
 * @param patients A set containing all the patients.
 * @return A set containing the pets that are both animals and patients.
 */
fun setConversionVeterinarian(pets: Set<String>, animals: Set<String>, patients: Set<String>): Set<String> {
/**
 * Given three sets - 'pets', 'animals', and 'patients', return the set of pets that are both animals and patients.
 *
 * @param pets A set containing all the pets.
 * @param animals A set containing all the animals.
 * @param patients A set containing all the patients.
 * @return A set containing the pets that are both animals and patients.
 */
fun setConversionVeterinarian(pets: Set<String>, animals: Set<String>, patients: Set<String>): Set<String> {

    // Intersection of 'pets', 'animals', and 'patients'
    val intersectionSet = pets.intersect(animals).intersect(patients)

    return intersectionSet
}