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: 'people watching a music concert being performed on a stage'. Reverse all words of length '5' in the given sentence.

SOLUTION: people watching a cisum concert gnieb performed on a egats

PROBLEM: Sentence: 'a baby elephant in the middle of a field'. Reverse all words of length '3' in the given sentence.

SOLUTION: a baby elephant in eht middle of a field

PROBLEM: Sentence: 'a teddy bear laying on a pillowwith a blanket on it'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a yddet bear laying on a pillowwith a blanket on it