Task: Program Execution
Input (English): [[31, 26, 50, 33], [50, -46, 35, -20], [31, 18], [-4, 12, 21]]
Output (English): [1329900, 1610000, 558, -1008]