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 man holding a remote and standing up'. Reverse all words of length '3' in the given sentence.

SOLUTION: a nam holding a remote dna standing up

PROBLEM: Sentence: 'a green train stopped at a train station'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a green train stopped at a train station