Task: Program Execution
Input (English): [[24, 3, -18, -31], [-39, -41, -7], [5, 46, 46]]
Output (English): [40176, -11193, 10580]