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.

Sentence: 'a red double decker bus parked next to a brick building'. Reverse all words of length '4' in the given sentence.
a red double decker bus parked txen to a brick building

Sentence: 'a man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.
a man plays a game with a wii controller

Sentence: 'a group of people sit on a bench while holding umbrellas'. Reverse all words of length '7' in the given sentence.

a group of people sit on a bench while gnidloh umbrellas