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