Task: Program Execution
Input (English): [-2, -61, -84, -78, -52, 49, -87]
Output (English): [6, 183, 252, 234, 156, 98, 261]