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.

Example Input: Sentence: 'a black and white image of a wall with a stop sign on it'. Reverse all words of length '5' in the given sentence.
Example Output: a kcalb and etihw egami of a wall with a stop sign on it

Example Input: Sentence: 'a herd of horses is exercised in the yard led by a man on horseback'. Reverse all words of length '6' in the given sentence.
Example Output: a herd of sesroh is exercised in the yard led by a man on horseback

Example Input: Sentence: 'a blender sits on a table in a dark room'. Reverse all words of length '1' in the given sentence.
Example Output:
a blender sits on a table in a dark room