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: 'people flying kites at the beach on an overcast day'. Reverse all words of length '6' in the given sentence.
[EX A]: elpoep gniylf kites at the beach on an overcast day

[EX Q]: Sentence: 'someone is sitting on a elephant and messing with the seat'. Reverse all words of length '7' in the given sentence.
[EX A]: enoemos is gnittis on a elephant and gnissem with the seat

[EX Q]: Sentence: 'a water skier holds on to a rope being towed by a boat'. Reverse all words of length '5' in the given sentence.
[EX A]:
a retaw reiks sdloh on to a rope gnieb dewot by a boat