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 giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.
[A]: a giraffe standing next to a leafy tree


[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: 'a large black bear about to take a swim in a pool'. Reverse all words of length '4' in the given sentence.
[A]:
a large black raeb about to ekat a miws in a loop