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 motorcycle parked on the street and next to parked cars'. Reverse all words of length '1' in the given sentence.

SOLUTION: a motorcycle parked on the street and next to parked cars

PROBLEM: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

SOLUTION: a dog si sleeping no a boat ni the water

PROBLEM: Sentence: 'a woman riding a surf board through the waves'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a namow riding a surf draob through the sevaw