Task: Program Execution
Input (English): [[-18, -8], [18, -46], [-1, -35, 2, -14, -43]]
Output (English): [144, -828, -28]