Task: Program Execution
Input (English): [[40, 23], [3, -30, 28, -41], [-44, -18, 1]]
Output (English): [40, -840, 792]