Task: Program Execution
Input (English): [[-6, -35, 11, -49, -40], [42, -17, 16], [-27, -40], [30, -46]]
Output (English): [18865, -17, -27, 0]