Task: Program Execution
Input (English): [[41, 8, 10], [37, -32], [45, -37], [-31, -23, 21, -38]]
Output (English): [3280, -1184, -1665, -568974]