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: 'a man assisting a person on a horse on a race track'. Reverse all words of length '3' in the given sentence.
[EX A]: a nam assisting a person on a horse on a race track

[EX Q]: Sentence: 'a bathroom with two doors and both of them are ajar'. Reverse all words of length '4' in the given sentence.
[EX A]: a bathroom htiw two doors and htob of meht are raja

[EX Q]: Sentence: 'an up close photo of a zebra eating hay'. Reverse all words of length '2' in the given sentence.
[EX A]:
na pu close photo fo a zebra eating hay