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 tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.
[EX A]: a tennis player si swinging ta a tennis ball

[EX Q]: Sentence: 'two doubledecker buses are parked at a bus stop next to some buildings with another doubledecker bus on the road going the other direction behind them'. Reverse all words of length '1' in the given sentence.
[EX A]: two doubledecker buses are parked at a bus stop next to some buildings with another doubledecker bus on the road going the other direction behind them

[EX Q]: Sentence: 'a woman about to serve a tennis ball'. Reverse all words of length '2' in the given sentence.
[EX A]:
a woman about ot serve a tennis ball