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 girl with a cast on her arm stands in a bathroom'. Reverse all words of length '3' in the given sentence.

SOLUTION: a girl with a cast on reh mra stands in a bathroom

PROBLEM: Sentence: 'pictures a candle a single flower and a stuffed bear on a table'. Reverse all words of length '6' in the given sentence.

SOLUTION: pictures a eldnac a elgnis rewolf and a stuffed bear on a table

PROBLEM: Sentence: 'a man eats a banana with the peel removed'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a nam eats a banana with eht peel removed