Task: Program Execution
Input (English): [340, 881, 12, 477, 423, 37, 311]
Output (English): [881, 37, 311]