Task: Program Execution
Input (English): [3, -7, -7, 7]
Output (English): [2, -9, -10, 3]