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.
--------
Question: Sentence: 'a dog sitting in the passenger seat of a vehicle'. Reverse all words of length '9' in the given sentence.

Answer: a dog sitting in the regnessap seat of a vehicle


Question: Sentence: 'an open fridge with all kinds of food and condiments'. Reverse all words of length '4' in the given sentence.

Answer: an nepo fridge htiw all kinds of doof and condiments


Question: Sentence: 'three dogs playing and chasing each other on a bench'. Reverse all words of length '5' in the given sentence.

Answer:
eerht dogs playing and chasing each rehto on a hcneb