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 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 dog lays next to a bag on a couch'. Reverse all words of length '4' in the given sentence.

SOLUTION: a dog syal txen to a bag on a couch

PROBLEM: Sentence: 'a woman laying on a couch with a bird on her head'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a namow laying on a hcuoc with a bird on her head