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: '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 dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.

SOLUTION: a dog wearing a wooden tie sitting in its masters lap

PROBLEM: Sentence: 'a bird sitting in a tree next to a citrus fruit'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a bird sitting in a tree next to a surtic fruit