Task: Program Execution
Input (English): [503, 976, 385, 652, 251, 357, 367, 94, 470, 135, 907, 953]
Output (English): [503, 251, 367, 907, 953]