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: 'an open fridge with all kinds of food and condiments'. Reverse all words of length '4' in the given sentence.
[EX A]: an nepo fridge htiw all kinds of doof and condiments

[EX Q]: Sentence: 'a happy white man with sunglasses on a boat'. Reverse all words of length '1' in the given sentence.
[EX A]: a happy white man with sunglasses on a boat

[EX Q]: Sentence: 'we are looking into the excavation on a building site'. Reverse all words of length '8' in the given sentence.
[EX A]:
we are looking into the excavation on a gnidliub site