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