Task: Program Execution
Input (English): Sentence: 'a man is playing tennis on a gray court'. Reverse all words of length '2' in the given sentence.
Output (English): a man si playing tennis no a gray court