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: 'the man smiles while holding a small boy'. Reverse all words of length '5' in the given sentence.
the man smiles elihw holding a llams boy

Sentence: 'someone is holding a computer on top of two plastic barrels'. Reverse all words of length '1' in the given sentence.
someone is holding a computer on top of two plastic barrels

Sentence: 'a baseball player moves away from an inside pitch'. Reverse all words of length '2' in the given sentence.

a baseball player moves away from na inside pitch