TASK DEFINITION: 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.
PROBLEM: Sentence: 'a happy white man with sunglasses on a boat'. Reverse all words of length '1' in the given sentence.

SOLUTION: a happy white man with sunglasses on a boat

PROBLEM: Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.

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

PROBLEM: Sentence: 'a few planes are on the ground outside'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a few planes are on the ground outside