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: 'a man laying on a bench and a woman next to him touching his face'. Reverse all words of length '4' in the given sentence.

SOLUTION: a man laying on a bench and a woman txen to him touching his ecaf

PROBLEM: Sentence: 'several men playing a video game in a home'. Reverse all words of length '7' in the given sentence.

SOLUTION:
lareves men gniyalp a video game in a home