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