Task: Program Execution
Input (English): [[18, 3], [38, 45], [-22, -43, 12, -35], [30, -22, -12], [-41, -3, 19, -48], [12, 22, -18], [-18, 0, -20], [6, -40, -17, -27, -48], [46, -31, -3, -49], [22, 12, -12]]
Output (English): [3, 45, 1505, 0, 2337, 0, 0, 459, -4557, 0]