Task: Program Execution
Input (English): [[-4, 24, -40], [-30, -47, -15, 20, 13], [-2, 19, 11], [7, -34, -41, 37], [28, -1, 41, -34], [16, -17, -22, -49], [41, 7, 17, 29, 8]]
Output (English): [0, 9165, 209, -10619, -41, 833, 141491]