Task: Program Execution
Input (English): Sentence: 'a train engine pulling carts into a station as passengers wait'. Reverse all words of length '4' in the given sentence.
Output (English): a train engine pulling carts otni a station as passengers tiaw