Task: Program Execution
Input (English): [[5, 19, -8], [-45, 46, -40, 50], [39, -21], [-13, 32, 39]]
Output (English): [95, -45, -819, -507]