Task: Program Execution
Input (English): [587, 457, 746, 31, 89, 7]
Output (English): [587, 457, 31, 89, 7]