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.

[Q]: Sentence: 'a man riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.
[A]: a man riding an elephant plays basketball while others watch


[Q]: Sentence: 'an image of a group of people sitting in the snow'. Reverse all words of length '6' in the given sentence.
[A]: an image of a group of elpoep sitting in the snow


[Q]: Sentence: 'a line of colorful umbrellas on an sparsely populated beach'. Reverse all words of length '4' in the given sentence.
[A]:
a enil of colorful umbrellas on an sparsely populated beach