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