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 man leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.

SOLUTION: a man leaning forward sa eh swings a tennis racket

PROBLEM: Sentence: 'a person in a rowboat under an umbrella'. Reverse all words of length '5' in the given sentence.

SOLUTION: a person in a rowboat rednu an umbrella

PROBLEM: Sentence: 'a man sitting outside in a field with clear skies'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a man sitting outside in a field with clear skies