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: 'there is a group of people standing on the beach'. Reverse all words of length '8' in the given sentence.
there is a group of people gnidnats on the beach

Sentence: 'a man being towed behind a boat on a board'. Reverse all words of length '4' in the given sentence.
a man being towed behind a taob on a board

Sentence: 'a prepared dinner as fried fish and vegetables with wine'. Reverse all words of length '5' in the given sentence.

a prepared dinner as deirf fish and vegetables with wine