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