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.

[EX Q]: Sentence: 'three giraffes looking over a wooden fence at two women'. Reverse all words of length '8' in the given sentence.
[EX A]: three seffarig looking over a wooden fence at two women

[EX Q]: Sentence: 'three cows graze on the food that sits just outside their pens'. Reverse all words of length '5' in the given sentence.
[EX A]: eerht cows ezarg on the food that sits just outside rieht pens

[EX Q]: Sentence: 'a photo of a glass of wine an apple and a banana'. Reverse all words of length '2' in the given sentence.
[EX A]:
a photo fo a glass fo wine na apple and a banana