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

SOLUTION: two baseball players with long hair and beards are posing with a smile

PROBLEM: Sentence: 'a man standing next to a parked car under a street sign'. Reverse all words of length '6' in the given sentence.

SOLUTION: a man standing next to a dekrap car under a teerts sign

PROBLEM: Sentence: 'a motorcycle rider rounding a bend on a green motorcycle'. Reverse all words of length '8' in the given sentence.

SOLUTION:
a motorcycle rider gnidnuor a bend on a green motorcycle