Task: Program Execution
Input (English): [-8, 31, 40]
Output (English): [-8, 40]