Task: Program Execution
Input (English): Sentence: a cat sitting on a book shelf next to a television
Output (English): television a to next shelf book a on sitting cat a