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