Task: Program Execution
Input (English): Sentence: a black cat resting comfortably on a soft bed
Output (English): bed soft a on comfortably resting cat black a