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.
--------
Question: Sentence: 'a couple of women sitting on a bench with a dog'. Reverse all words of length '4' in the given sentence.

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


Question: Sentence: 'a baseball player tossing a ball to another player'. Reverse all words of length '2' in the given sentence.

Answer: a baseball player tossing a ball ot another player


Question: Sentence: 'polaroidlooking photograph of cows in a green pasture'. Reverse all words of length '4' in the given sentence.

Answer:
polaroidlooking photograph of swoc in a green pasture