/**
 * A veterinarian has a list of dogs, cats, and birds. Each animal has its favorite treat.
 * Write a function that takes the veterinarian's name and the list of animals, and returns a map
 * where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 *
 * @param veterinarian The veterinarian's name.
 * @param dogs A list of dogs.
 * @param cats A list of cats.
 * @param birds A list of birds.
 * @return A map where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 */
fun animalTreats(veterinarian: String, dogs: List<String>, cats: List<String>, birds: List<String>): Map<String, String> {

    val treats = mutableMapOf<String, String>()
    dogs.forEach { treats[it] = "Bone" }
    cats.forEach { treats[it] = "Fish" }
    birds.forEach { treats[it] = "Seeds" }
    return mapOf(veterinarian to treats.values.joinToString())
}
/**
 * A veterinarian has a list of dogs, cats, and birds. Each animal has its favorite treat.
 * Write a function that takes the veterinarian's name and the list of animals, and returns a map
 * where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 *
 * @param veterinarian The veterinarian's name.
 * @param dogs A list of dogs.
 * @param cats A list of cats.
 * @param birds A list of birds.
 * @return A map where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 */
fun animalTreats(veterinarian: String, dogs: List<String>, cats: List<String>, birds: List<String>): Map<String, String> {
/**
 * A veterinarian has a list of dogs, cats, and birds. Each animal has its favorite treat.
 * Write a function that takes the veterinarian's name and the list of animals, and returns a map
 * where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 *
 * @param veterinarian The veterinarian's name.
 * @param dogs A list of dogs.
 * @param cats A list of cats.
 * @param birds A list of birds.
 * @return A map where the keys are the veterinarian's name and the values are the favorite treat of each animal.
 */
fun animalTreats(veterinarian: String, dogs: List<String>, cats: List<String>, birds: List<String>): Map<String, String> {

    val treats = mutableMapOf<String, String>()
    dogs.forEach { treats[it] = "Bone" }
    cats.forEach { treats[it] = "Fish" }
    birds.forEach { treats[it] = "Seeds" }
    return mapOf(veterinarian to treats.values.joinToString())
}