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 male in a white shirt is surfing in some dirt'. Reverse all words of length '2' in the given sentence.

SOLUTION: a male ni a white shirt si surfing ni some dirt

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: 'a person and a large pizza with cheese and mushrooms'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a person and a large pizza htiw cheese and mushrooms