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 small white dog with a hat on his rear end'. Reverse all words of length '3' in the given sentence.
[EX A]: a small white god with a tah on sih rear dne

[EX Q]: Sentence: 'a person holding a black remote control in their right hand'. Reverse all words of length '5' in the given sentence.
[EX A]: a person holding a kcalb remote control in rieht thgir hand

[EX Q]: Sentence: 'a pizza that has tomatoes and cheese on it'. Reverse all words of length '3' in the given sentence.
[EX A]:
a pizza that sah tomatoes dna cheese on it