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 person on a parachute landing on the water'. Reverse all words of length '2' in the given sentence.

SOLUTION: a person no a parachute landing no the water

PROBLEM: Sentence: 'a black cat sitting on top of a laptop on a table'. Reverse all words of length '5' in the given sentence.

SOLUTION: a kcalb cat sitting on top of a laptop on a elbat

PROBLEM: Sentence: 'a bottle of beer on a chair under an umbrella at the beach'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a bottle of beer on a chair under an umbrella at the beach