Task: Program Execution
Input (English): [[31, 5, -1], [-50, -39], [-10, -7, 17, 8, 18], [22, -46, -6], [-42, -4], [15, 20, 28, -22], [-21, -46]]
Output (English): [0, -50, -1440, 6072, 168, -12320, -46]