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

Answer: a group of nem playing on a basketball court next to doors


Question: Sentence: 'there is a large black bear that is siting on a rock'. Reverse all words of length '5' in the given sentence.

Answer: ereht is a egral kcalb bear that is siting on a rock


Question: Sentence: 'a small girl with an electronic device in her hand'. Reverse all words of length '3' in the given sentence.

Answer:
a small girl with an electronic device in reh hand