Task: Program Execution
Input (English): [251, 638, 547, 798, 29]
Output (English): [251, 547, 29]