Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a red train with its doors closed near the platform

platform the near closed doors its with train red a