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 shirtless man lays on a bed and smiles'. Reverse all words of length '9' in the given sentence.

SOLUTION: a sseltrihs man lays on a bed and smiles

PROBLEM: Sentence: 'a group of people sitting on a wooden bench'. Reverse all words of length '1' in the given sentence.

SOLUTION: a group of people sitting on a wooden bench

PROBLEM: Sentence: 'a woman is holding an umbrella with a weird shirt on'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a woman is holding an umbrella htiw a weird shirt on