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: 'the man smiles while holding a small boy'. Reverse all words of length '5' in the given sentence.

SOLUTION: the man smiles elihw holding a llams boy

PROBLEM: Sentence: 'a man laying on a bench and a woman next to him touching his face'. Reverse all words of length '4' in the given sentence.

SOLUTION: a man laying on a bench and a woman txen to him touching his ecaf

PROBLEM: Sentence: 'two women wash an elephant in shallow water'. Reverse all words of length '8' in the given sentence.

SOLUTION:
two women wash an tnahpele in shallow water