Task: Program Execution
Input (English): [[-40, -16], [-3, -22, -12, 49], [30, 43]]
Output (English): [640, 264, 30]