Task: Program Execution
Input (English): [[47, 10], [5, 3], [40, 0], [3, 30, -35], [-2, 3], [33, 7, 42, 12, 29], [-27, 17, -46, 10], [45, -9, -4, -28], [44, 38, 26]]
Output (English): [10, 0, 0, 30, -2, 504, -460, 112, 43472]