Task: Program Execution
Input (English): [12, 311, 890, 31, 277, 327, 617, 417, 40]
Output (English): [311, 31, 277, 617]