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.

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

[EX Q]: Sentence: 'a man riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.
[EX A]: a man riding an elephant plays basketball while others watch

[EX Q]: Sentence: 'kids play with toys in the sun on the beach'. Reverse all words of length '3' in the given sentence.
[EX A]:
kids play with toys in eht nus on eht beach