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.

[Q]: Sentence: 'giraffes are standing in the grass near water and trees'. Reverse all words of length '4' in the given sentence.
[A]: giraffes are standing in the grass raen water and trees


[Q]: Sentence: 'a dog that is in a living room near a group of people'. Reverse all words of length '5' in the given sentence.
[A]: a dog that is in a living room near a puorg of people


[Q]: Sentence: 'a man taking a photo with his chocolate dessert and a beer'. Reverse all words of length '9' in the given sentence.
[A]:
a man taking a photo with his etalocohc dessert and a beer