Task: Program Execution
Input (English): [[-30, -22, -31], [40, 22]]
Output (English): [-20460, 880]