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 beach chair and sandals in the sand'. Reverse all words of length '2' in the given sentence.
Example Output: a beach chair and sandals ni the sand

Example Input: Sentence: 'a man in a blue shirt is playing tennis'. Reverse all words of length '3' in the given sentence.
Example Output: a nam in a blue shirt is playing tennis

Example Input: Sentence: 'a black cat that is looking into a bathtub'. Reverse all words of length '1' in the given sentence.
Example Output:
a black cat that is looking into a bathtub