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