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 vintage photo of a man riding an old motorcycle'. Reverse all words of length '7' in the given sentence.

SOLUTION: a egatniv photo of a man riding an old motorcycle

PROBLEM: Sentence: 'a photo in an airport showing a backpack and a cell phone'. Reverse all words of length '8' in the given sentence.

SOLUTION: a photo in an airport showing a kcapkcab and a cell phone

PROBLEM: Sentence: 'one cake doughnut and one doughnut topped with icing'. Reverse all words of length '5' in the given sentence.

SOLUTION:
one cake doughnut and one doughnut topped with gnici