Task: Program Execution
Input (English): [[31, 41], [18, 35, -17, -12], [5, 48, 21, 39]]
Output (English): [1271, -595, 4095]