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

[EX Q]: Sentence: 'a hand is holding an iced doughnut with sprinkles'. Reverse all words of length '1' in the given sentence.
[EX A]: a hand is holding an iced doughnut with sprinkles

[EX Q]: Sentence: 'a man is lying on the floor with his calculator and briefcase preparing to work'. Reverse all words of length '10' in the given sentence.
[EX A]:
a man is lying on the floor with his rotaluclac and briefcase preparing to work