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: 'three people on a tennis court playing tennis'. Reverse all words of length '6' in the given sentence.

SOLUTION: three elpoep on a sinnet court playing sinnet

PROBLEM: Sentence: 'a couple of women sitting on a bench with a dog'. Reverse all words of length '4' in the given sentence.

SOLUTION: a couple of women sitting on a bench htiw a dog

PROBLEM: Sentence: 'a woman in a dress holding a suit case on a secluded road'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a woman in a dress holding a tius esac on a secluded daor