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 man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.
[EX A]: a man plays a game with a wii controller

[EX Q]: Sentence: 'some people sitting on some benches flowers and buildings'. Reverse all words of length '3' in the given sentence.
[EX A]: some people sitting on some benches flowers dna buildings

[EX Q]: Sentence: 'a purse next to a purple vase with a yellow flower'. Reverse all words of length '1' in the given sentence.
[EX A]:
a purse next to a purple vase with a yellow flower