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