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 cat with a santa hat standing on a rug'. Reverse all words of length '8' in the given sentence.

A: a cat with a santa hat gnidnats on a rug
****
Q: Sentence: 'a baseball pitcher pitching a ball during a game'. Reverse all words of length '8' in the given sentence.

A: a llabesab pitcher gnihctip a ball during a game
****
Q: Sentence: 'a child on bench sticking out her tongue'. Reverse all words of length '6' in the given sentence.

A:
a child on bench sticking out her eugnot
****