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.
--------
Question: Sentence: 'giraffes are standing in the grass near water and trees'. Reverse all words of length '4' in the given sentence.

Answer: giraffes are standing in the grass raen water and trees


Question: Sentence: 'three brown horses standing in a green field'. Reverse all words of length '5' in the given sentence.

Answer: eerht nworb horses standing in a neerg dleif


Question: Sentence: 'a baseball player at bat and swinging the bat with other players behind him in the dugout'. Reverse all words of length '5' in the given sentence.

Answer:
a baseball player at bat and swinging the bat with rehto players behind him in the dugout