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: 'a train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.
a train si ni a depot ta the platform entry

Sentence: 'two young boys standing on grass near a fence'. Reverse all words of length '8' in the given sentence.
two young boys gnidnats on grass near a fence

Sentence: 'a woman taking her surf board into the ocean'. Reverse all words of length '3' in the given sentence.

a woman taking reh surf board into eht ocean