Task: Program Execution
Input (English): [[46, 39, 12], [-49, 21, 1, -32], [4, -12], [48, -21], [-23, 11, -1, 49], [-23, 8, -4, 1], [-41, -7], [-32, 13, -50, 39], [-9, -29, -42]]
Output (English): [39, -1029, 0, -21, 12397, -23, 287, 507, 261]