Task: Program Execution
Input (English): [[-40, 50, 7], [38, 46], [0, 40]]
Output (English): [-14000, 1748, 0]