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 group of men playing on a basketball court next to doors'. Reverse all words of length '3' in the given sentence.

A: a group of nem playing on a basketball court next to doors
****
Q: Sentence: 'multiple animals in a field while eating some grass'. Reverse all words of length '5' in the given sentence.

A: multiple animals in a dleif elihw eating some ssarg
****
Q: Sentence: 'a man enjoys a burrito in a small restaurant'. Reverse all words of length '3' in the given sentence.

A:
a nam enjoys a burrito in a small restaurant
****