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: 'a woman playing tennis at night time with lights'. Reverse all words of length '1' in the given sentence.

SOLUTION: a woman playing tennis at night time with lights

PROBLEM: Sentence: 'a stop sign in a foreign language with the letters alto on it'. Reverse all words of length '8' in the given sentence.

SOLUTION:
a stop sign in a foreign egaugnal with the letters alto on it