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 gray tiger cat sitting on top of a chair'. Reverse all words of length '3' in the given sentence.
[EX A]: a gray tiger tac sitting on pot of a chair

[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: 'a woman helping a girl fly a kite on a beach'. Reverse all words of length '7' in the given sentence.
[EX A]:
a woman gnipleh a girl fly a kite on a beach