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