Task: Program Execution
Input (English): [[43, -46, 42, 23], [32, 47, 30, -24, -29], [-49, 44, 17, -27, 5], [-28, -7, 42, -5, 40], [-3, 20, 12], [-40, 40, 37, 38]]
Output (English): [989, -1363, 112455, 35, -3, 37]