Input: A chicken laid an egg
A cat laid an egg

Output: second