Task: Program Execution
Input (English): [6, 1, 2, 1, 4]
Output (English): [6, 2, 4]