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: 'a girl sitting on a kitchen counter drinking wine'. Reverse all words of length '8' in the given sentence.

SOLUTION: a girl sitting on a kitchen counter gniknird wine

PROBLEM: Sentence: 'a man and a women standing next to each other'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a man and a women standing next ot each other