Input: The patient and the doctor talked
The dog and the doctor talked

Output: second