Task: Program Execution
Input (English): [3, 77, -45, -19, -19, -49, 45]
Output (English): [14, 310, -178, -74, -74, -194, 182]