Input: Cat is a carnivore
Cat is a herbivore

Output: second