Task: Program Execution
Input (English): Sentence: a herd of animals in a grassy pasture with a black dog standing near
Output (English): near standing dog black a with pasture grassy a in animals of herd a