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.

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.
a llabesab player sliding to a base and another trying to catch a ball

Sentence: 'a baseball player tossing a ball to another player'. Reverse all words of length '2' in the given sentence.
a baseball player tossing a ball ot another player

Sentence: 'a bunch of bananas hanging near a blue wall'. Reverse all words of length '1' in the given sentence.

a bunch of bananas hanging near a blue wall