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.

[Q]: Sentence: 'an orange longhorn bull stands among the herd'. Reverse all words of length '2' in the given sentence.
[A]: na orange longhorn bull stands among the herd


[Q]: Sentence: 'a horse standing in front of a barn'. Reverse all words of length '1' in the given sentence.
[A]: a horse standing in front of a barn


[Q]: Sentence: 'a baseball player raises a baseball bat over his head'. Reverse all words of length '6' in the given sentence.
[A]:
a baseball reyalp sesiar a baseball bat over his head