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 person on a surfboard riding a wave in the water'. Reverse all words of length '5' in the given sentence.
[A]: a person on a surfboard riding a wave in the retaw


[Q]: Sentence: 'a small and very clean bathroom in someones house'. Reverse all words of length '8' in the given sentence.
[A]:
a small and very clean moorhtab in senoemos house