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