Task: Program Execution
Input (English): [149, 502, 708, 647, 653, 407, 531, 311]
Output (English): [149, 647, 653, 311]