Task: Program Execution
Input (English): [[31, -17, 14, -49], [-10, -10, -8], [-7, -31, -37, -34]]
Output (English): [361522, -800, 272986]