Task: Program Execution
Input (English): Sentence: 'there is a dog that has a red hat on'. Reverse all words of length '3' in the given sentence.
Output (English): there is a god that sah a der tah on