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.

[EX Q]: Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
[EX A]: a passenger train moves along tracks near a field and trees

[EX Q]: Sentence: 'a group of boys surfing in water'. Reverse all words of length '4' in the given sentence.
[EX A]: a group of syob surfing in water

[EX Q]: Sentence: 'a glass vase with palm leaves sits on a pedestal'. Reverse all words of length '2' in the given sentence.
[EX A]:
a glass vase with palm leaves sits no a pedestal