/**
 * This function takes a list of veterinarians and adds a new veterinarian with the given name, age, and salary.
 *
 * @param vetList List of veterinarians.
 * @param name Name of the new veterinarian.
 * @param age Age of the new veterinarian.
 * @param salary Salary of the new veterinarian.
 * @return Updated list of veterinarians.
 *
 * Example:
 * val vetList = mutableListOf(listOf("Dr. John", 35, 50000), listOf("Dr. Lisa", 40, 60000))
 * addVeterinarian(vetList, "Dr. Emily", 28, 45000)
 * Output: [["Dr. John", 35, 50000], ["Dr. Lisa", 40, 60000], ["Dr. Emily", 28, 45000]]
 */
fun addVeterinarian(vetList: MutableList<List<Any>>, name: String, age: Int, salary: Int): MutableList<List<Any>> {

    val veterinarian = listOf(name, age, salary)
    vetList.add(veterinarian)
    return vetList
}
/**
 * This function takes a list of veterinarians and adds a new veterinarian with the given name, age, and salary.
 *
 * @param vetList List of veterinarians.
 * @param name Name of the new veterinarian.
 * @param age Age of the new veterinarian.
 * @param salary Salary of the new veterinarian.
 * @return Updated list of veterinarians.
 *
 * Example:
 * val vetList = mutableListOf(listOf("Dr. John", 35, 50000), listOf("Dr. Lisa", 40, 60000))
 * addVeterinarian(vetList, "Dr. Emily", 28, 45000)
 * Output: [["Dr. John", 35, 50000], ["Dr. Lisa", 40, 60000], ["Dr. Emily", 28, 45000]]
 */
fun addVeterinarian(vetList: MutableList<List<Any>>, name: String, age: Int, salary: Int): MutableList<List<Any>> {
/**
 * This function takes a list of veterinarians and adds a new veterinarian with the given name, age, and salary.
 *
 * @param vetList List of veterinarians.
 * @param name Name of the new veterinarian.
 * @param age Age of the new veterinarian.
 * @param salary Salary of the new veterinarian.
 * @return Updated list of veterinarians.
 *
 * Example:
 * val vetList = mutableListOf(listOf("Dr. John", 35, 50000), listOf("Dr. Lisa", 40, 60000))
 * addVeterinarian(vetList, "Dr. Emily", 28, 45000)
 * Output: [["Dr. John", 35, 50000], ["Dr. Lisa", 40, 60000], ["Dr. Emily", 28, 45000]]
 */
fun addVeterinarian(vetList: MutableList<List<Any>>, name: String, age: Int, salary: Int): MutableList<List<Any>> {

    val veterinarian = listOf(name, age, salary)
    vetList.add(veterinarian)
    return vetList
}