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: 'two baseball players with long hair and beards are posing with a smile'. Reverse all words of length '1' in the given sentence.

A: two baseball players with long hair and beards are posing with a smile
****
Q: Sentence: 'a large long train on a steel track'. Reverse all words of length '2' in the given sentence.

A: a large long train no a steel track
****
Q: Sentence: 'a man dressed in brown rides a brown horse across the sand with a hill covered in brown grass behind him'. Reverse all words of length '3' in the given sentence.

A:
a nam dressed in brown rides a brown horse across eht sand with a hill covered in brown grass behind mih
****