Task: Program Execution
Input (English): [-6, -40, -16, 83, 64, -57, -87]
Output (English): [18, 120, 48, 166, 128, 171, 261]