Task: Program Execution
Input (English): [[40, -6], [-45, 43, -28, 50, 31], [1, 39, 24], [-20, -43, -7, -47]]
Output (English): [-240, 83979000, 936, 282940]