Task: Program Execution
Input (English): Sentence: 'a man playing a game of catch with his dog on a beach'. Reverse all words of length '3' in the given sentence.
Output (English): a nam playing a game of catch with sih god on a beach