Task: Program Execution
Input (English): [[50, 31, -46], [41, 31, -17], [-43, -5], [30, 44], [-36, 27, -48, -31, -41], [-35, 27]]
Output (English): [31, -21607, 215, 0, 34317, -945]