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: 'wooden train passing through a forested hilly area'. Reverse all words of length '1' in the given sentence.

SOLUTION: wooden train passing through a forested hilly area

PROBLEM: Sentence: 'there is no image to provide a caption for'. Reverse all words of length '7' in the given sentence.

SOLUTION: there is no image to edivorp a noitpac for

PROBLEM: Sentence: 'a man in a hat is holding an umbrella'. Reverse all words of length '7' in the given sentence.

SOLUTION:
a man in a hat is gnidloh an umbrella