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 person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.

SOLUTION: a person wearing a black jacket is gnidnats next to a horse

PROBLEM: Sentence: 'a pizza that has jalapenos on one side and olives on the other'. Reverse all words of length '3' in the given sentence.

SOLUTION: a pizza that sah jalapenos on eno side dna olives on eht other

PROBLEM: Sentence: 'there are a lot of different items laying on the table'. Reverse all words of length '2' in the given sentence.

SOLUTION:
there are a lot fo different items laying no the table