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: 'the bathroom has a toilet a window and a sink'. Reverse all words of length '8' in the given sentence.
the moorhtab has a toilet a window and a sink

Sentence: 'a confusing set of signs one says stop and the other no stop'. Reverse all words of length '5' in the given sentence.

a confusing set of sngis one says stop and the rehto no stop