Task: Program Execution
Input (English): [[0, 46, 29, 2, 10], [-36, -22, 37, 21], [-12, 10], [20, -43, -33, -9, -35]]
Output (English): [29, 777, 0, 446985]