Task: Program Execution
Input (English): [523, 127, 460, 977, 53, 61, 883, 509, 313, 486, 111, 316]
Output (English): [523, 127, 977, 53, 61, 883, 509, 313]