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