Task: Program Execution
Input (English): [[40, 40], [27, -23], [5, -46], [29, 32, 10], [30, 40, 0, -23]]
Output (English): [1600, 0, -46, 320, 0]