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 person on a surfboard riding a wave in the water'. Reverse all words of length '5' in the given sentence.
a person on a surfboard riding a wave in the retaw

Sentence: 'there are a lot of different items laying on the table'. Reverse all words of length '2' in the given sentence.
there are a lot fo different items laying no the table

Sentence: 'two dogs tugging on the same yellow frisbee'. Reverse all words of length '3' in the given sentence.

owt dogs tugging on eht same yellow frisbee