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 pitcher pitching a ball during a game'. Reverse all words of length '8' in the given sentence.

SOLUTION: a llabesab pitcher gnihctip a ball during a game

PROBLEM: Sentence: 'several stacks of trunks in front of a building'. Reverse all words of length '8' in the given sentence.

SOLUTION: several stacks of trunks in front of a gnidliub

PROBLEM: Sentence: 'a young man prepares to hit a tennis ball as it comes towards him'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a young man prepares to hit a tennis ball as it comes towards him