Task: Program Execution
Input (English): [[-17, 8, -3], [2, 34, 9, -49], [2, 2]]
Output (English): [51, -441, 0]