Input: The train reaches its next station, every passenger shall get off the train
The train reaches its terminal, every passenger shall get off the train

Output: first