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 person in skis is standing in the snow'. Reverse all words of length '2' in the given sentence.
a person ni skis si standing ni the snow

Sentence: 'an asian man stands in front of the sink of a messy kitchen and smiles'. Reverse all words of length '4' in the given sentence.

an asian man stands in front of the knis of a messy kitchen and smiles