Task: Program Execution
Input (English): [[-17, -1, 42], [22, -4, 47, -31], [-10, 41, -21, -16], [-10, 7]]
Output (English): [42, -88, 160, -10]