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