Input: John gets married with his best friend
John gets married with his elder sister

Output: second