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: 'three young men on a beach leap toward a frisbee'. Reverse all words of length '1' in the given sentence.

SOLUTION: three young men on a beach leap toward a frisbee

PROBLEM: Sentence: 'a water bottle sitting on top of a counter'. Reverse all words of length '6' in the given sentence.

SOLUTION: a water elttob sitting on top of a counter

PROBLEM: Sentence: 'traffic stopped at an intersection with a red traffic signal'. Reverse all words of length '1' in the given sentence.

SOLUTION:
traffic stopped at an intersection with a red traffic signal