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