Input: Snake is a pet animal
Snake is a wild animal

Output: first