Task: Program Execution
Input (English): [-12, 25, -77, 49, 40, 87]
Output (English): 164