TASK DEFINITION: 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.
PROBLEM: Sentence: 'a baseball player at bat and swinging the bat with other players behind him in the dugout'. Reverse all words of length '5' in the given sentence.

SOLUTION: a baseball player at bat and swinging the bat with rehto players behind him in the dugout

PROBLEM: Sentence: 'the tour buses are driving away from the building'. Reverse all words of length '5' in the given sentence.

SOLUTION: the tour sesub are driving away from the building

PROBLEM: Sentence: 'a group of people doing a blood drive'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a group of people doing a blood drive