Task: Program Execution
Input (English): [5, 612, 338, 877]
Output (English): [5, 877]