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 leaping into the air to catch a baseball'. Reverse all words of length '3' in the given sentence.

SOLUTION: a baseball player leaping into eht ria to catch a baseball

PROBLEM: Sentence: 'pair of dogs watching television in living area of home'. Reverse all words of length '8' in the given sentence.

SOLUTION: pair of dogs gnihctaw television in living area of home

PROBLEM: Sentence: 'the fire hydrant is obscured by the rather tall weeds'. Reverse all words of length '5' in the given sentence.

SOLUTION:
the fire hydrant is obscured by the rather tall sdeew