Task: Program Execution
Input (English): [587, 631, 574, 877, 87, 421, 773, 13, 251]
Output (English): [587, 631, 877, 421, 773, 13, 251]