Task: Program Execution
Input (English): [[18, -10], [-18, -40, -4], [11, -5, -2, -3], [-1, 11, -49, 8], [0, -47, -13, -35]]
Output (English): [0, 0, 165, 539, -21385]