Task: Program Execution
Input (English): [-1, -5, -3, 0, -18, 8, 0, 7, -1, -7]
Output (English): [-2, -7, -6, -4, -23, 2, -7, -1, -10, -17]