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 baseball player sliding to a base and another trying to catch a ball'. Reverse all words of length '8' in the given sentence.
[EX A]: a llabesab player sliding to a base and another trying to catch a ball

[EX Q]: Sentence: 'a banana laying near the water with light reflecting on it'. Reverse all words of length '1' in the given sentence.
[EX A]: a banana laying near the water with light reflecting on it

[EX Q]: Sentence: 'the desert is prepared and ready to be eaten'. Reverse all words of length '2' in the given sentence.
[EX A]:
the desert si prepared and ready ot eb eaten