Arrange three sentences so that they make a coherent story.
He took the train home. He arrived at his stop. He had to buy a ticket.
He had to buy a ticket. He took the train home. He arrived at his stop.
Complete the following task based on the instruction and optional input provided.### Instruction:
Arrange three sentences so that they make a coherent story.

### Input:
He took the train home. He arrived at his stop. He had to buy a ticket.

### Output:
He had to buy a ticket. He took the train home. He arrived at his stop.