Task: Program Execution
Input (English): [46, 464, 587, 71, 462, 128, 19, 783, 349, 509, 47, 178]
Output (English): [587, 71, 19, 349, 509, 47]