Input: he went to the airport to catch the flight
he went to the airport to catch the train

Output: second