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 parachute landing on the water'. Reverse all words of length '2' in the given sentence.
a person no a parachute landing no the water

Sentence: 'a person is on the court and playing tennis'. Reverse all words of length '3' in the given sentence.
a person is on eht court dna playing tennis

Sentence: 'a man adjusting his tie while wearing a jacket'. Reverse all words of length '6' in the given sentence.

a man adjusting his tie while wearing a tekcaj