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 holding a yummy looking hot dog'. Reverse all words of length '7' in the given sentence.

SOLUTION: a person gnidloh a yummy gnikool hot dog

PROBLEM: Sentence: 'a close up of a cat on a bath room sink'. Reverse all words of length '1' in the given sentence.

SOLUTION: a close up of a cat on a bath room sink

PROBLEM: Sentence: 'a man tossing a frisbee in the air'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a man tossing a frisbee ni the air