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.

[Q]: Sentence: 'a woman is taking a picture of her reflection in the mirror'. Reverse all words of length '6' in the given sentence.
[A]: a woman is gnikat a picture of her reflection in the rorrim


[Q]: Sentence: 'a wall decorated with fans and other art work'. Reverse all words of length '1' in the given sentence.
[A]: a wall decorated with fans and other art work


[Q]: Sentence: 'two black bears that are walking in an enclosure'. Reverse all words of length '2' in the given sentence.
[A]:
two black bears that are walking ni na enclosure