Task: Program Execution
Input (English): [[38, -8, 31], [-20, -4, -28, -20, 16], [23, 19, -29, 37], [44, 40]]
Output (English): [-304, 716800, 0, 1760]