Demonstrate the use of the given phrase in a sentence.
"In the nick of time"
John arrived at the station in the nick of time, just as the train was about to leave.
Complete the following task based on the instruction and optional input provided.### Instruction:
Demonstrate the use of the given phrase in a sentence.

### Input:
"In the nick of time"

### Output:
John arrived at the station in the nick of time, just as the train was about to leave.