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: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.
[EX A]: two sdik playing soccer htiw a llab while a referee watches closely

[EX Q]: Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
[EX A]: a passenger train moves along tracks near a field and trees

[EX Q]: Sentence: 'a man holding a snow board looking at a snowy ski slope'. Reverse all words of length '5' in the given sentence.
[EX A]:
a man holding a snow draob looking at a ywons ski epols