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