Task: Program Execution
Input (English): [[-8, 46, 18], [31, -17], [17, 29, 9], [-4, -47], [-8, 8, -24, -7]]
Output (English): [0, -527, 4437, -47, -7]