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 group of people eating a cake on a table'. Reverse all words of length '6' in the given sentence.
[EX A]: a group of elpoep gnitae a cake on a table

[EX Q]: Sentence: 'an image of a group of people sitting in the snow'. Reverse all words of length '6' in the given sentence.
[EX A]: an image of a group of elpoep sitting in the snow

[EX Q]: Sentence: 'an open fridge with food inside in a room'. Reverse all words of length '4' in the given sentence.
[EX A]:
an nepo fridge htiw doof inside in a moor