Task: Program Execution
Input (English): [[40, -29, -16], [44, -29, -28], [42, 31, -27, -47, 7]]
Output (English): [-640, -1232, 42]