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 clock tower in between two leafless trees'. Reverse all words of length '3' in the given sentence.
a clock tower in between owt leafless trees

Sentence: 'several people flying kites on a sandy beach'. Reverse all words of length '7' in the given sentence.
lareves people flying kites on a sandy beach

Sentence: 'a group of people eating a cake on a table'. Reverse all words of length '6' in the given sentence.

a group of elpoep gnitae a cake on a table