Task: Program Execution
Input (English): [[5, -31, -1], [-35, -40, 28, -50, 48], [-1, 47, 50, 31], [-28, 19, -21, -47], [-37, -20], [-41, -8], [-20, 44]]
Output (English): [155, -35, -1457, 18753, -37, -41, 0]