Task: Program Execution
Input (English): [[10, 18, -39], [-33, 40], [24, -50, 31]]
Output (English): [180, 40, -1200]