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