Task: Program Execution
Input (English): [[47, 7], [-29, 38], [-46, -18], [-12, 49, -22, -20, -30], [10, 29, 22], [-44, -1, 31]]
Output (English): [0, 38, 828, 158400, 220, -44]