Task: Program Execution
Input (English): [[-40, 15, -31], [-36, 41, 2, 9, -49], [8, -6, 42, -47], [21, -31, 41, -32, 18]]
Output (English): [-40, -72, -2016, -576]