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: 'two cats facing left one on laptop the other on the table'. Reverse all words of length '4' in the given sentence.
Example Output: two stac facing tfel one on laptop the other on the table

Example Input: Sentence: 'two giraffes standing next to a fence trying to reach the grass'. Reverse all words of length '6' in the given sentence.
Example Output: two giraffes standing next to a fence gniyrt to reach the grass

Example Input: Sentence: 'a living room with couches a chair and a shelf'. Reverse all words of length '3' in the given sentence.
Example Output:
a living room with couches a chair dna a shelf