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.

Sentence: 'an open fridge with all kinds of food and condiments'. Reverse all words of length '4' in the given sentence.
an nepo fridge htiw all kinds of doof and condiments

Sentence: 'a close up of the front of a train on train tracks'. Reverse all words of length '3' in the given sentence.
a close up of eht front of a train on train tracks

Sentence: 'a man standing in the water flying a kite'. Reverse all words of length '6' in the given sentence.

a man standing in the water gniylf a kite