/**
 * This function takes three lists: insects, birds, and mammals, containing different species of animals as input. It returns a new list that contains the common species among all three lists.
 */
fun findCommonSpecies(insects: List<String>, birds: List<String>, mammals: List<String>): List<String> {

    val commonSpecies = mutableListOf<String>()
    for (species in insects) {
        if (species in birds && species in mammals) {
            commonSpecies.add(species)
        }
    }
    return commonSpecies
}
/**
 * This function takes three lists: insects, birds, and mammals, containing different species of animals as input. It returns a new list that contains the common species among all three lists.
 */
fun findCommonSpecies(insects: List<String>, birds: List<String>, mammals: List<String>): List<String> {
/**
 * This function takes three lists: insects, birds, and mammals, containing different species of animals as input. It returns a new list that contains the common species among all three lists.
 */
fun findCommonSpecies(insects: List<String>, birds: List<String>, mammals: List<String>): List<String> {

    val commonSpecies = mutableListOf<String>()
    for (species in insects) {
        if (species in birds && species in mammals) {
            commonSpecies.add(species)
        }
    }
    return commonSpecies
}