Task: Program Execution
Input (English): [107, 382, 2, 911, 587, 904, 227, 587, 868, 509]
Output (English): [107, 2, 911, 587, 227, 587, 509]