Task: Program Execution
Input (English): [373, 547, 29, 287, 331, 182, 617, 440, 877]
Output (English): [373, 547, 29, 331, 617, 877]