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