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.

Q: Sentence: 'three computer peripherals laying on a wooden surface'. Reverse all words of length '7' in the given sentence.

A: three computer peripherals laying on a wooden ecafrus
****
Q: Sentence: 'a dog is catching a frisbee at a competition'. Reverse all words of length '11' in the given sentence.

A: a dog is catching a frisbee at a noititepmoc
****
Q: Sentence: 'there is a trunk and suitcases on a handcart'. Reverse all words of length '1' in the given sentence.

A:
there is a trunk and suitcases on a handcart
****