Task: Program Execution
Input (English): [-14, -59, -8, -84, -67, -74, 2, 50, 40]
Output (English): 6