Task: Program Execution
Input (English): Sentence: 'a brown and white horse eating hay from a bag'. Reverse all words of length '5' in the given sentence.
Output (English): a nworb and etihw esroh eating hay from a bag