Task: Program Execution
Input (English): [-40, -58, -18, -58]
Output (English): [-40, -58, -58]