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