Input: The pen ran out of ink
The pen ran out of mayonnaise

Output: second