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