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: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.
[A]: the three sniart are stopped on the railroad skcart


[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 stop sign is shown on top of a wooden platform'. Reverse all words of length '3' in the given sentence.
[A]:
a stop sign is shown on pot of a wooden platform