Task: Program Execution
Input (English): [584, 4, -3, -673, 702, 679, 534, 355, -50, 560, 174, -647, 670, -939]
Output (English): [580, 0, 0, -670, 700, 680, 530, 360, -50, 560, 170, -650, 670, -940]