Task: Program Execution
Input (English): Sentence: 'a cat and a dog laying with their head next to each other'. Reverse all words of length '5' in the given sentence.
Output (English): a cat and a dog laying with rieht head next to each rehto