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 man taking a photo with his chocolate dessert and a beer'. Reverse all words of length '9' in the given sentence.
a man taking a photo with his etalocohc dessert and a beer

Sentence: 'a river filled with lots of boats and surrounded by buildings'. Reverse all words of length '4' in the given sentence.
a river filled htiw stol of boats and surrounded by buildings

Sentence: 'a man wearing a black vest and tie taking a picture of himself'. Reverse all words of length '4' in the given sentence.

a man wearing a black tsev and tie taking a picture of himself