Task: Program Execution
Input (English): Sentence: a small cat and small dog looking in the opposite direction
Output (English): direction opposite the in looking dog small and cat small a