Task: Program Execution
Input (English): [[40, 31], [-50, -30, -46, -34, -33], [-16, 27, 32], [6, -15], [30, 47], [39, -9], [-30, -10, 3, 19, 15], [17, 23]]
Output (English): [40, 2346000, -512, 6, 30, 0, 300, 0]