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 cats facing left one on laptop the other on the table'. Reverse all words of length '4' in the given sentence.

SOLUTION: two stac facing tfel one on laptop the other on the table

PROBLEM: Sentence: 'two men are playing a wii boxing game'. Reverse all words of length '4' in the given sentence.

SOLUTION: two men are playing a wii boxing emag

PROBLEM: Sentence: 'a meaty looking sandwich is next to cooked vegetables'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a meaty looking sandwich si next ot cooked vegetables