Task: Program Execution
Input (English): Sentence: 'a dog curled up sleeping on a bed with pillows'. Reverse all words of length '6' in the given sentence.
Output (English): a dog delruc up sleeping on a bed with pillows