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 group of people riding in a black raft'. Reverse all words of length '1' in the given sentence.
a group of people riding in a black raft

Sentence: 'there is a sign stating that there is a scenic drive'. Reverse all words of length '4' in the given sentence.
there is a ngis stating taht there is a scenic drive

Sentence: 'a man flying a kite over the ocean on a beach'. Reverse all words of length '5' in the given sentence.

a man flying a kite over the naeco on a hcaeb