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 sliced pizza with vegetables in a pizza box'. Reverse all words of length '10' in the given sentence.

SOLUTION: a sliced pizza with selbategev in a pizza box

PROBLEM: Sentence: 'a blue train with a few people on the front of it'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a blue train with a few elpoep on the front of it