Task: Program Execution
Input (English): [-12, 6, 7, 3, 7, -18, 7]
Output (English): [-13, 4, 4, -1, 2, -24, 0]