Task: Program Execution
Input (English): [[31, -24, 40, 14], [18, 42, -26, -40, 49], [-31, -21]]
Output (English): [-13440, 786240, 0]