Task: Program Execution
Input (English): [587, 71, 827, 107, 251, 373, 612, 23, 792, 173, 641]
Output (English): [587, 71, 827, 107, 251, 373, 23, 173, 641]