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 person riding a motorcycle on a road next to bales of straw'. Reverse all words of length '4' in the given sentence.
Example Output: a person riding a motorcycle on a daor txen to bales of straw

Example Input: Sentence: 'a table with different dishes of food on it'. Reverse all words of length '4' in the given sentence.
Example Output: a table htiw different dishes of doof on it

Example Input: Sentence: 'a blue yellow and white jet parked and some grass'. Reverse all words of length '5' in the given sentence.
Example Output:
a blue yellow and etihw jet parked and some ssarg