Task: Program Execution
Input (English): [587, 89, 281, 501, 577, 864, 557, 409, 151, 511, 358, 652, 588, 607, 593]
Output (English): [587, 89, 281, 577, 557, 409, 151, 607, 593]