Input: James held a great wedding for his first marriage
James held a great funeral for his first marriage

Output: second