Task: Program Execution
Input (English): [[12, 36], [11, -49, 10], [29, -9, 22, 32], [0, -5, -49, -26, -12], [-31, 20]]
Output (English): [0, -539, -261, 245, -31]