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 sliding to a base and another trying to catch a ball'. Reverse all words of length '8' in the given sentence.

SOLUTION: a llabesab player sliding to a base and another trying to catch a ball

PROBLEM: Sentence: 'an omelet with hash browns and toast as breakfast'. Reverse all words of length '5' in the given sentence.

SOLUTION: an omelet with hash browns and tsaot as breakfast

PROBLEM: Sentence: 'a stuffed animal sits on grass next to an open photo album'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a stuffed animal sits no grass next ot na open photo album