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: 'three computer peripherals laying on a wooden surface'. Reverse all words of length '7' in the given sentence.

SOLUTION: three computer peripherals laying on a wooden ecafrus

PROBLEM: Sentence: 'the tour buses are driving away from the building'. Reverse all words of length '5' in the given sentence.

SOLUTION: the tour sesub are driving away from the building

PROBLEM: Sentence: 'a shovel and a spoon hung on a wooden wall'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a shovel dna a spoon hung on a wooden wall