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 sandwich that is on a plate on a table'. Reverse all words of length '8' in the given sentence.
[EX A]: a hciwdnas that is on a plate on a table

[EX Q]: Sentence: 'a panda bear walking around in the middle of a enclosure'. Reverse all words of length '6' in the given sentence.
[EX A]: a panda bear walking dnuora in the elddim of a enclosure

[EX Q]: Sentence: 'there is a bathroom with a oven and a refg'. Reverse all words of length '2' in the given sentence.
[EX A]:
there si a bathroom with a oven and a refg