Task: Program Execution
Input (English): [39, -79, -77, 90, -18, 45, -40]
Output (English): 2