Task: Program Execution
Input (English): [[47, 40], [41, 24, -29, 31], [0, 2, 49, -31]]
Output (English): [1880, -884616, 0]