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

A: a hciwdnas that is on a plate on a table
****
Q: Sentence: 'a bird looks around as it sits on a wire'. Reverse all words of length '4' in the given sentence.

A: a drib looks around as it stis on a eriw
****
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
****