Task: Program Execution
Input (English): [[13, 27, 45, 47], [41, 6, -39, -37], [-50, -46], [-23, -7, -14, -16, -18]]
Output (English): [742365, 59163, 0, 161]