Task: Program Execution
Input (English): [599, 774, 414, 515, 287, 510, 271, 529, 863, 671, 105, 743, 641, 643, 717]
Output (English): [599, 271, 863, 743, 641, 643]