Task: Program Execution
Input (English): Sentence: a man in a small motorboat with his dog lying on the bow
Output (English): bow the on lying dog his with motorboat small a in man a