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 man cooks with a pot full of food and water'. Reverse all words of length '3' in the given sentence.
Example Output: a nam cooks with a top full of food dna water

Example Input: Sentence: 'a black cat sitting on top of a laptop on a table'. Reverse all words of length '5' in the given sentence.
Example Output: a kcalb cat sitting on top of a laptop on a elbat

Example Input: Sentence: 'a man is leaning over with a tennis racket'. Reverse all words of length '7' in the given sentence.
Example Output:
a man is gninael over with a tennis racket