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: 'two people on a motorcycle ride towards the road'. Reverse all words of length '6' in the given sentence.

SOLUTION: two elpoep on a motorcycle ride towards the road

PROBLEM: Sentence: 'two hot dogs surrounded with bacon and cheese'. Reverse all words of length '6' in the given sentence.

SOLUTION: two hot dogs surrounded with bacon and eseehc

PROBLEM: Sentence: 'a black and white photo of a man riding his skateboard '. Reverse all words of length '6' in the given sentence.

SOLUTION:
a black and white photo of a man gnidir his skateboard