Task: Program Execution
Input (English): [[10, -37], [-1, -35, -28], [-2, -38, -4], [-1, 13]]
Output (English): [10, -28, -304, 0]