Task: Program Execution
Input (English): [[41, -7, 23], [7, 6, 46, -42, -38], [-3, 1, 4, -31]]
Output (English): [-6601, 3083472, 372]