Task: Program Execution
Input (English): [12, 19, -58, -96, 52, -89, 12, -77]
Output (English): [24, 38, 174, 288, 104, 267, 24, 231]