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 cat attentively watching a graphic on a television screen'. Reverse all words of length '7' in the given sentence.
Example Output: a cat attentively watching a cihparg on a television screen

Example Input: Sentence: 'the glass bowl is filled with ripped oranges'. Reverse all words of length '7' in the given sentence.
Example Output: the glass bowl is filled with ripped segnaro

Example Input: Sentence: 'the pastry on the table is next to a cup of coffee'. Reverse all words of length '2' in the given sentence.
Example Output:
the pastry no the table si next ot a cup fo coffee