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: 'an elephant is standing in the road by the truck'. Reverse all words of length '5' in the given sentence.
[EX A]: an elephant is standing in the road by the kcurt

[EX Q]: Sentence: 'a herd of zebra standing in a forest'. Reverse all words of length '1' in the given sentence.
[EX A]: a herd of zebra standing in a forest

[EX Q]: Sentence: 'a cat laying on the floor next to another cat and a dog'. Reverse all words of length '1' in the given sentence.
[EX A]:
a cat laying on the floor next to another cat and a dog