Task: Program Execution
Input (English): [[40, -49], [26, 41, -14, -34, 31], [40, 2, 42]]
Output (English): [-49, 1271, 0]