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.

Q: Sentence: 'a dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.

A: a dog wearing a wooden tie sitting in its masters lap
****
Q: Sentence: 'group of antelopes and deer standing outside in a savannah'. Reverse all words of length '9' in the given sentence.

A: group of sepoletna and deer standing outside in a savannah
****
Q: Sentence: 'a large cargo ship sailing past men riding on horses'. Reverse all words of length '3' in the given sentence.

A:
a large cargo ship sailing past nem riding on horses
****