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.

Sentence: 'a child on bench sticking out her tongue'. Reverse all words of length '6' in the given sentence.
a child on bench sticking out her eugnot

Sentence: 'two baseball players with long hair and beards are posing with a smile'. Reverse all words of length '1' in the given sentence.
two baseball players with long hair and beards are posing with a smile

Sentence: 'the batter is swinging his bat to hit the ball'. Reverse all words of length '8' in the given sentence.

the batter is gnigniws his bat to hit the ball