Task: Program Execution
Input (English): [[-41, -28, -10], [17, 17], [-23, -37, 40, -49]]
Output (English): [-41, 289, -41699]