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: 'the couple are smiling at each other as they sit on a bench'. Reverse all words of length '4' in the given sentence.

SOLUTION: the couple are smiling at hcae other as yeht sit on a bench

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: 'a snowboarder in a black jacket is coming down a hill'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a snowboarder in a black tekcaj is gnimoc down a hill