Task: Program Execution
Input (English): Sentence: 'a goat with red painted horns on its head'. Reverse all words of length '4' in the given sentence.
Output (English): a taog htiw red painted horns on its daeh