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