Task: Program Execution
Input (English): [[-31, 37, -7, -21, -38], [3, -29, -47, -22], [25, -40, -12]]
Output (English): [6407142, -89958, 12000]