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