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 kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.

SOLUTION: two sdik playing soccer htiw a llab while a referee watches closely

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: 'there is a base ball game on the field'. Reverse all words of length '1' in the given sentence.

SOLUTION:
there is a base ball game on the field