Task: Program Execution
Input (English): [[-49, -35, -7], [-41, 46, 7, 48], [39, 15], [-42, -30, 33, 28, 31], [31, 44, 15], [22, 40], [-5, 11, 23, 0, -6], [33, 12, -31]]
Output (English): [-12005, -287, 585, 1023, 465, 0, -1265, -1023]