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: '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 griaffe eating from a tall basket at a zoo'. Reverse all words of length '2' in the given sentence.

A: a griaffe eating from a tall basket ta a zoo
****
Q: Sentence: 'a blue and black cargo train with doors open'. Reverse all words of length '5' in the given sentence.

A:
a blue and kcalb ograc niart with srood open
****