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