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 cat attentively watching a graphic on a television screen'. Reverse all words of length '7' in the given sentence.

SOLUTION: a cat attentively watching a cihparg on a television screen

PROBLEM: Sentence: 'a surfer in a wetsuit riding the crest of a wave'. Reverse all words of length '1' in the given sentence.

SOLUTION: a surfer in a wetsuit riding the crest of a wave

PROBLEM: Sentence: 'a sepia photograph of a bull and a carriage'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a sepia photograph of a llub and a carriage