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 is on the court and playing tennis'. Reverse all words of length '3' in the given sentence.

SOLUTION: a person is on eht court dna playing tennis

PROBLEM: Sentence: 'an umbrella sitting on top of a hill next to a body of water'. Reverse all words of length '4' in the given sentence.

SOLUTION: an umbrella sitting on top of a llih txen to a ydob of water

PROBLEM: Sentence: 'a man standing next to a little girl on a ski slope'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a man standing txen to a little lrig on a ski slope