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 woman is riding a show horse at a competition'. Reverse all words of length '6' in the given sentence.
[A]: a woman is gnidir a show horse at a competition


[Q]: Sentence: 'one man waves while another rides a skateboard on a ramp'. Reverse all words of length '10' in the given sentence.
[A]: one man waves while another rides a draobetaks on a ramp


[Q]: Sentence: 'a small bathroom with bath tub and a  small window'. Reverse all words of length '6' in the given sentence.
[A]:
a small bathroom with bath tub and a small wodniw