Task: Program Execution
Input (English): [[40, 49], [-2, -7, -43], [-50, 23, 21, -40], [44, -29, 34, -46, -48], [-8, 22, 25, -9], [-37, 31, -12, 43, 12], [-12, -23, -49, 14, -30], [45, -49, -4, -14]]
Output (English): [49, 301, 483, -29, -225, -49321, 1127, -2205]