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

Answer: a man leaning forward sa eh swings a tennis racket


Question: Sentence: 'a bedroom with clothes scattered everywhere and an unmade bed'. Reverse all words of length '7' in the given sentence.

Answer: a moordeb with sehtolc scattered everywhere and an unmade bed


Question: Sentence: 'a kitchen in the middle of some renovations'. Reverse all words of length '2' in the given sentence.

Answer:
a kitchen ni the middle fo some renovations