Task: Program Execution
Input (English): Sentence: a dog lies on the floor next to a bed
Output (English): bed a to next floor the on lies dog a