Task: Program Execution
Input (English): [40, 86, 77, 15, 66, 8, 82, -78]
Output (English): 4