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 woman is up to bat at a softball game'. Reverse all words of length '2' in the given sentence.

SOLUTION: a woman si pu ot bat ta a softball game

PROBLEM: Sentence: 'a bear in a field next to a pond'. Reverse all words of length '5' in the given sentence.

SOLUTION: a bear in a dleif next to a pond

PROBLEM: Sentence: 'a small pizza in a box on a table'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a small pizza ni a box no a table