Task: Program Execution
Input (English): [[23, 12, -10], [34, 20, -13, 12, 0], [-47, -49], [24, 33, -40]]
Output (English): [-2760, 0, 2303, -31680]