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 tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.
[EX A]: the sinnet players are participating in a ylevil match

[EX Q]: Sentence: 'a large long train on a steel track'. Reverse all words of length '2' in the given sentence.
[EX A]: a large long train no a steel track

[EX Q]: Sentence: 'a window on a store next to a pile of fruit'. Reverse all words of length '1' in the given sentence.
[EX A]:
a window on a store next to a pile of fruit