Task: Program Execution
Input (English): [827, 339, 167, 689, 870, 392, 359, 387, 761, 132, 2, 311, 349, 172, 977, 223, 231, 307]
Output (English): [827, 167, 359, 761, 2, 311, 349, 977, 223, 307]