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: 'three people on a tennis court playing tennis'. Reverse all words of length '6' in the given sentence.

A: three elpoep on a sinnet court playing sinnet
****
Q: Sentence: 'horned sheep running up a steep rocky hill in the sun'. Reverse all words of length '7' in the given sentence.

A:
horned sheep gninnur up a steep rocky hill in the sun
****