Task: Program Execution
Input (English): [313, 947, 368, 435, 769, 919, 522, 788, 673, 449, 761, 140, 198, 139]
Output (English): [313, 947, 769, 919, 673, 449, 761, 139]