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

[EX Q]: Sentence: 'a person holding a yummy looking hot dog'. Reverse all words of length '7' in the given sentence.
[EX A]: a person gnidloh a yummy gnikool hot dog

[EX Q]: Sentence: 'a group of women are sitting at a restaurant together'. Reverse all words of length '3' in the given sentence.
[EX A]:
a group of women era sitting at a restaurant together