TASK DEFINITION: In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.
PROBLEM: Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.

SOLUTION: a passenger train moves along tracks near a field and trees

PROBLEM: Sentence: 'a group of skiers standing at the base of a mountain'. Reverse all words of length '3' in the given sentence.

SOLUTION: a group of skiers standing at eht base of a mountain

PROBLEM: Sentence: 'a black and white photo of a sign pointing to paris'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a kcalb and etihw otohp of a sign pointing to sirap