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 leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.
[A]: a man leaning forward sa eh swings a tennis racket


[Q]: Sentence: 'an old fashioned setting of people playing tennis'. Reverse all words of length '6' in the given sentence.
[A]: an old fashioned setting of elpoep playing sinnet


[Q]: Sentence: 'a train pulls up next to a platform that is empty'. Reverse all words of length '1' in the given sentence.
[A]:
a train pulls up next to a platform that is empty