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 dog that is in a living room near a group of people'. Reverse all words of length '5' in the given sentence.

SOLUTION: a dog that is in a living room near a puorg of people

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: 'the dog is ready to play frisbee in the fall leaves'. Reverse all words of length '6' in the given sentence.

SOLUTION:
the dog is ready to play frisbee in the fall sevael