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.

[EX Q]: Sentence: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.
[EX A]: the three sniart are stopped on the railroad skcart

[EX Q]: Sentence: 'many cows on a field of grass with trees in the background'. Reverse all words of length '1' in the given sentence.
[EX A]: many cows on a field of grass with trees in the background

[EX Q]: Sentence: 'a racer drives a motorcycle on the track'. Reverse all words of length '10' in the given sentence.
[EX A]:
a racer drives a elcycrotom on the track