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: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.
Example Output: chair and apartment size rotaregirfer in a small room

Example Input: Sentence: 'three house cats look outside from a window'. Reverse all words of length '1' in the given sentence.
Example Output: three house cats look outside from a window

Example Input: Sentence: 'close up of a pink tray with various vegetables and nuts on it'. Reverse all words of length '3' in the given sentence.
Example Output:
close up of a pink tray with various vegetables dna nuts on it