Task: Program Execution
Input (English): [[28, 17, 0, -24, -4], [-40, -3], [28, -39, -40, -21]]
Output (English): [0, -40, -1120]