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.

Sentence: 'a person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.
a person wearing a black jacket is gnidnats next to a horse

Sentence: 'three people are sitting in the room playing video games'. Reverse all words of length '2' in the given sentence.
three people are sitting ni the room playing video games

Sentence: 'a stop sign and an arrow sign against a stone wall'. Reverse all words of length '1' in the given sentence.

a stop sign and an arrow sign against a stone wall