Input: He had a pet dinosaur
He had a pet dog

Output: first