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: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.
[EX A]: chair and apartment size rotaregirfer in a small room

[EX Q]: Sentence: 'a woman taking a swing at a  tennis ball'. Reverse all words of length '4' in the given sentence.
[EX A]:
a woman taking a swing at a tennis llab