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