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: 'a gentleman and child in a vintage picture with a horse'. Reverse all words of length '4' in the given sentence.
[EX A]: a gentleman and child in a vintage picture htiw a horse

[EX Q]: Sentence: 'a large eared dog sitting on an office chair'. Reverse all words of length '3' in the given sentence.
[EX A]: a large eared god sitting on an office chair

[EX Q]: Sentence: 'a couple of people riding skis on a snow covered slope'. Reverse all words of length '5' in the given sentence.
[EX A]:
a couple of people riding skis on a snow covered epols