Task: Program Execution
Input (English): [[3, 49], [40, 14], [17, -2, 50, 11]]
Output (English): [147, 560, -18700]