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 jumping up into the air on a skateboard'. Reverse all words of length '1' in the given sentence.

SOLUTION: a person jumping up into the air on a skateboard

PROBLEM: Sentence: 'a train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.

SOLUTION: a train si ni a depot ta the platform entry

PROBLEM: Sentence: 'a giraffe walks in a grassy area'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a giraffe walks in a grassy aera