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 man leans down to take a bite from his sandwich'. Reverse all words of length '5' in the given sentence.

SOLUTION: a man snael down to take a bite from his sandwich

PROBLEM: Sentence: 'a sink and a bathtub and shower with a mirror above the sink'. Reverse all words of length '4' in the given sentence.

SOLUTION: a knis and a bathtub and shower htiw a mirror above the knis

PROBLEM: Sentence: 'a young girl riding a wave on top of a surfboard'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a young girl riding a wave on top of a surfboard