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: 'a cat with a santa hat standing on a rug'. Reverse all words of length '8' in the given sentence.

SOLUTION: a cat with a santa hat gnidnats on a rug

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: 'people walking and cars driving on a street by stores'. Reverse all words of length '2' in the given sentence.

SOLUTION:
people walking and cars driving no a street yb stores