Input: they were travelling in a plane in the air
they were travelling in a carpet in the air

Output: second