Task: Program Execution
Input (English): [[-31, 25, -41], [13, 37, 35], [50, 32, 1, 31]]
Output (English): [31775, 16835, 31]