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: 'a baseball pitcher pitching a ball during a game'. Reverse all words of length '8' in the given sentence.
Example Output: a llabesab pitcher gnihctip a ball during a game

Example Input: Sentence: 'a softball player is hitting the ball with a bat'. Reverse all words of length '6' in the given sentence.
Example Output:
a softball reyalp is hitting the ball with a bat