Task: Program Execution
Input (English): [6, 97, -48, 19, 45, -17, -31]
Output (English): 145