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 men are playing a wii boxing game'. Reverse all words of length '4' in the given sentence.
Example Output: two men are playing a wii boxing emag

Example Input: Sentence: 'a birthday cake cut in different pieces sitting on a tray at a table'. Reverse all words of length '1' in the given sentence.
Example Output: a birthday cake cut in different pieces sitting on a tray at a table

Example Input: Sentence: 'a grocery shopping cart next to a parking meter'. Reverse all words of length '2' in the given sentence.
Example Output:
a grocery shopping cart next ot a parking meter