Task: Program Execution
Input (English): [[-37, 7], [21, 6, 9], [50, 10, 7], [40, -6, 12, -35]]
Output (English): [-259, 1134, 3500, 100800]