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.

Q: Sentence: 'a small white dog with a hat on his rear end'. Reverse all words of length '3' in the given sentence.

A: a small white god with a tah on sih rear dne
****
Q: Sentence: 'a toilet and a roll of toilet paper'. Reverse all words of length '2' in the given sentence.

A: a toilet and a roll fo toilet paper
****
Q: Sentence: 'a person cutting up an ice cream cake sitting in the box on a table'. Reverse all words of length '5' in the given sentence.

A:
a person cutting up an ice maerc cake sitting in the box on a elbat
****