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 man with a tennis racket gets ready to hit a ball'. Reverse all words of length '5' in the given sentence.

SOLUTION: a man with a tennis racket gets ydaer to hit a ball

PROBLEM: Sentence: 'several people enjoying various activities at the beach'. Reverse all words of length '10' in the given sentence.

SOLUTION: several people enjoying various seitivitca at the beach

PROBLEM: Sentence: 'two men are walking along the beach with surfboards'. Reverse all words of length '7' in the given sentence.

SOLUTION:
two men are gniklaw along the beach with surfboards