Task: Program Execution
Input (English): [317, 139, 47, 331, 109, 750, 71, 546, 971, 304, 381]
Output (English): [317, 139, 47, 331, 109, 71, 971]