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: 'there is a bathroom with a oven and a refg'. Reverse all words of length '2' in the given sentence.

SOLUTION: there si a bathroom with a oven and a refg

PROBLEM: Sentence: 'a group of men playing on a basketball court next to doors'. Reverse all words of length '3' in the given sentence.

SOLUTION: a group of nem playing on a basketball court next to doors

PROBLEM: Sentence: 'there is an adult giraffe on the side of a building'. Reverse all words of length '4' in the given sentence.

SOLUTION:
there is an adult giraffe on the edis of a building