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.

[EX Q]: Sentence: 'a table with different dishes of food on it'. Reverse all words of length '4' in the given sentence.
[EX A]: a table htiw different dishes of doof on it

[EX Q]: Sentence: 'the firetruck carried the firefighters to the fire to put the blaze out'. Reverse all words of length '3' in the given sentence.
[EX A]: eht firetruck carried eht firefighters to eht fire to tup eht blaze tuo

[EX Q]: Sentence: 'a man on skis is under an empty ski lift'. Reverse all words of length '1' in the given sentence.
[EX A]:
a man on skis is under an empty ski lift