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 salt and pepper shaker near a plate with food'. Reverse all words of length '3' in the given sentence.

SOLUTION: a salt dna pepper shaker near a plate with food

PROBLEM: Sentence: 'this goat is standing near a wire fence'. Reverse all words of length '5' in the given sentence.

SOLUTION: this goat is standing near a wire ecnef

PROBLEM: Sentence: 'a traffic signal with cameras posted next to it'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a traffic langis with cameras detsop next to it