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