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: 'some people sitting on some benches flowers and buildings'. Reverse all words of length '3' in the given sentence.
[EX A]: some people sitting on some benches flowers dna buildings

[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: 'three women under an umbrella at an outdoor function'. Reverse all words of length '8' in the given sentence.
[EX A]:
three women under an allerbmu at an outdoor noitcnuf