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 keyboard a mouse a monitor and a brown table'. Reverse all words of length '3' in the given sentence.
Example Output: a keyboard a mouse a monitor dna a brown table

Example Input: Sentence: 'an aerial view of a small bathroom stall'. Reverse all words of length '8' in the given sentence.
Example Output: an aerial view of a small moorhtab stall

Example Input: Sentence: 'a medial room has four beds and medical equipment'. Reverse all words of length '1' in the given sentence.
Example Output:
a medial room has four beds and medical equipment