Input: He went to a marriage in car
He went to a marriage in pen

Output: second