Task: Program Execution
Input (English): [[-10, -31, 10], [1, -24, -32, -39, 1], [-35, 34], [39, 36, 38]]
Output (English): [-100, 768, 34, 1368]