Task: Program Execution
Input (English): [[38, 47, -42, 28, 31], [-50, 28, 23, 40, -4], [28, 48], [8, -8, -29]]
Output (English): [1457, 23, 0, -29]