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.
--------
Question: Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.

Answer: a man on a surfboard gnidir a wave in the ocean


Question: Sentence: 'a large red truck on a city street'. Reverse all words of length '4' in the given sentence.

Answer: a large red truck on a ytic street


Question: Sentence: 'a tennis player about to serve a ball'. Reverse all words of length '1' in the given sentence.

Answer:
a tennis player about to serve a ball