Task: Program Execution
Input (English): [587, 881, 260, 963, 31, 889, 61]
Output (English): [587, 881, 31, 61]